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 6 years ago by
Ava.
-
AuthorPosts
-
March 14, 2019 at 5:49 pm #200663
bamcse
SpectatorHi, 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 #200665bamcse
SpectatorThis reply has been marked as private.March 15, 2019 at 6:41 am #200727Ava
MemberThis reply has been marked as private.March 15, 2019 at 12:13 pm #200770bamcse
SpectatorHi, 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 #200895logan
MemberHello, 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 #200903bamcse
Spectatoryes 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 #201106Ava
MemberHi 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 #201135bamcse
SpectatorHi I add it in wplms /footer but nothing changesMarch 19, 2019 at 7:38 am #201208Ava
MemberPlease share the working admin credentials in private reply as the earlier one are not working.March 19, 2019 at 7:54 am #201211bamcse
SpectatorThis reply has been marked as private.March 19, 2019 at 8:08 am #201216Ava
MemberHi 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 #201224bamcse
SpectatorHi, I will check it , can I know what the change you made in my site backend ?March 20, 2019 at 5:07 am #201334Ava
MemberActually, 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 #212674RicardoDB
SpectatorHi. 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 #212676RicardoDB
SpectatorThis reply has been marked as private. -
AuthorPosts
- The topic ‘Related Course Widget’ is closed to new replies.