Coure image in slidable progress bar

Home Forums Legacy Support Support queries Styling issues Coure image in slidable progress bar

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #187847
    stefan_lachmann
    Spectator
    Dear Mark, I am trying to find the code again as shown in a previous ticket, i.e. https://wplms.io/support/forums/topic/course-image-in-slidable-progress-bar/ The link provided there is a dead end in the meantime: https://ufile.io/3o1cz I would like to change the title in the slidable progress bar with the course image. Unfortunately, I missed to save the code provided. It worked, though, as I remember. :-) Thanks in advance and best wishes, Stefan
    #187893
    logan
    Member
    Dear Friend, use this code in your wplms-customizer.php add_action('course_action_points',function (){ $course_id = $_POST['course_id']; if(empty($course_id) && !empty($_COOKIE['course'])){ $course_id = $_COOKIE['course']; } echo '<style>.course_action_points h1{display:none;}</style> <div class="thumb_image"><img src="'.get_the_post_thumbnail_url($course_id).'"></div> '; }); Refer: http://prntscr.com/lrxqyi this will help. Regards.
    #187895
    stefan_lachmann
    Spectator
    Hi Logan, Not working unfortunately. :-( Another idea? Best wishes Stefan
    #187983
    Diana
    Participant
    @stefan_lachmann The code is working fine on my test setup as well. Did you pasted the above code in wp-admin > Plugins > Editor > Select WPLMS Customier plugin > wplms-customizer.php ? Still, it is not working fine then please share the screenshot of your pasted code here
    #188831
    stefan_lachmann
    Spectator
    Hi Diana, Working now. Many thanks. I have written it in the Custom CSS section. My fault. Best wishes, Stefan
    #188859
    logan
    Member
    Hey There, Voila ! If I can be of assistance, please do not hesitate to contact me again. Closing this topic. Best regards :)
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Coure image in slidable progress bar’ is closed to new replies.