Style issue in responsive view

Home Forums Legacy Support Support queries Styling issues Style issue in responsive view

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #153789
    Yazeed
    Participant
    Hello, In the course page when viewing on mobile, details of the course appear before 'STUDENTS ENROLLED', How can I make a STUDENTS ENROLLED appear first?
    #153807
    Diana
    Participant
    This reply has been marked as private.
    #153812
    Yazeed
    Participant
    I mean the whole sidebar appear first in responsive mode.
    #153823
    Anshuman Sahu
    Keymaster
    Please try adding this given script in your wp-admin -> wplms -> footer -> google anaylitics script  : <script> function move_students(){ if(jQuery( window ).width() < 700){ var element = jQuery('.col-md-9+.col-md-3 .students_undertaking'); var html = element.clone(); element.remove(); jQuery('.col-md-9+.col-md-3').prepend(html); } } jQuery(document).ready(function(){ move_students(); jQuery(window).on('resize', function(){ move_students(); }); }); </script>
    #153835
    Yazeed
    Participant
    This reply has been marked as private.
    #153944
    Mark Morgan
    Spectator
    Please replace the following javascript code with previous code  in your wp-admin-> wplms-> footer -> google analytic code: function move_students(){ if(jQuery( window ).width() < 700){ var element = jQuery('.col-md-9+.col-md-3 .students_undertaking'); var html = element.clone(); element.remove(); jQuery('div#buddypress div#item-body').prepend(html); var element2 = jQuery('.single-course .col-md-9+.col-md-3 div#course-pricing'); var html2 = element2.clone(); element2.remove(); jQuery('div#buddypress div#item-body').prepend(html2); } } jQuery(document).ready(function(){ move_students(); jQuery(window).on('resize', function(){ move_students(); }); });
    #154001
    Yazeed
    Participant
    I tried the code, and unfortunately nothing happened.
    #154041
    Mark Morgan
    Spectator
    Well the javascript code is working fine on our test setup, may be you forgot to add the <script> tag before this code. If this code still not works then please share your valid admin credentials with us. PS: Mark the reply as private while sharing the credentials.
    #154119
    Yazeed
    Participant
    Thank you very much for the excellent technical support, I added the script and the task was completed successfully.
    #154164
    Mark Morgan
    Spectator
    Thanks for confirmation, should i close this topic now.
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Style issue in responsive view’ is closed to new replies.