Home › Forums › Legacy Support › Support queries › Styling issues › Related Course Widget
Tagged: RELATED COURSE, responsive
- This topic has 16 replies, 4 voices, and was last updated 5 years, 5 months ago by Ava.
-
AuthorPosts
-
March 14, 2019 at 5:49 pm #200663bamcseSpectatorHi, in my site the Related Course Widget appear above the course setting menu in the mobile screen it must be in the bottom of the page ,can you help for this please:March 14, 2019 at 5:49 pm #200665bamcseSpectatorThis reply has been marked as private.March 15, 2019 at 6:41 am #200727AvaMemberThis reply has been marked as private.March 15, 2019 at 12:13 pm #200770bamcseSpectatorHi, yes I know , this is a related course section ( not widget ) but I think in mobile screen , the related courses section must be in the bottom of the page, mean under the course settings and widgets in the side barMarch 16, 2019 at 9:04 am #200895loganMemberHello, That is possible with custom css. we can forcefully fit that at the bottom of the page but that could cause styling issues with other elements. we can give a try please let me know your thought:March 16, 2019 at 9:22 am #200903bamcseSpectatoryes please , try this... its not good that the related course section appear above the course setting in mobile screen !!!March 18, 2019 at 1:44 pm #201106AvaMemberHi please try adding this given code in WPLMS > Footer > <script> function move_students(){ var element1 = jQuery('.single-course div#buddypress .col-md-9 .related_courses'); var html = element1.clone(); if(jQuery( window ).width() < 700){ if(jQuery('.single-course div#buddypress .col-md-3 .related_courses').length){ jQuery('.single-course div#buddypress .col-md-9 .related_courses').hide(); jQuery('.single-course div#buddypress .col-md-3 .related_courses').show(); }else{ jQuery('.single-course div#buddypress .col-md-3').append(html); jQuery('.single-course div#buddypress .col-md-9 .related_courses').hide(); jQuery('.single-course div#buddypress .col-md-3 .related_courses').show(); } }else{ jQuery('.single-course div#buddypress .col-md-3 .related_courses').hide(); jQuery('.single-course div#buddypress .col-md-9 .related_courses').show(); } } jQuery(document).ready(function(){ move_students(); jQuery(window).on('resize', function(){ move_students(); }); }); </script>March 18, 2019 at 5:24 pm #201135bamcseSpectatorHi I add it in wplms /footer but nothing changesMarch 19, 2019 at 7:38 am #201208AvaMemberPlease share the working admin credentials in private reply as the earlier one are not working.March 19, 2019 at 7:54 am #201211bamcseSpectatorThis reply has been marked as private.March 19, 2019 at 8:08 am #201216AvaMemberHi My Apologies, there is slight mistake in the code, I have updated the code above and also made the change in your site backend, the code is running is fine now. The issue is fixed. So Please verify. DO let us know.March 19, 2019 at 9:09 am #201224bamcseSpectatorHi, I will check it , can I know what the change you made in my site backend ?March 20, 2019 at 5:07 am #201334AvaMemberActually, there was a line just after <script> tag which was giving the error and stops to run the further code. I removed that and the code started working.June 7, 2019 at 2:51 am #212674RicardoDBSpectatorHi. I have the same problem, I need "Related Courses" to appear underneath everything in the mobile view. I would also like the title "Related Courses" to be in Spanish "Cursos relacionados".June 7, 2019 at 2:54 am #212676RicardoDBSpectatorThis reply has been marked as private.
-
AuthorPosts
- The topic ‘Related Course Widget’ is closed to new replies.