courses page on mobile

Home Forums Legacy Support Support queries Styling issues courses page on mobile

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #373021
    MeesterGijs
    Spectator
    Hello, I was wondering if it's possible to get a two column grid for the courses page (= meestergijs.nl/cursusaanbod) when on a mobile phone? So instead of all the courses underneath each other, 2 rows of courses next to eachother. Thanks, Gijs
    #373087
    Veronica
    Moderator
    This reply has been marked as private.
    #373090
    MeesterGijs
    Spectator
    This reply has been marked as private.
    #374769
    MeesterGijs
    Spectator
    This reply has been marked as private.
    #374788
    Veronica
    Moderator
    This reply has been marked as private.
    #374799
    MeesterGijs
    Spectator
    First one is great! Thank you Gijs
    #374829
    Veronica
    Moderator
    ok checking providing code in some time
    #374835
    Veronica
    Moderator
    hi use this code: @media only screen and (max-width: 768px){ ul#course-list { column-count:2; } div#course-dir-list ul#course-list { column-count: 2; } .directory.course div#course-dir-list ul#course-list .item-credits strong{ padding: 0px !important; margin-left: -5px !important; } #buddypress #course-dir-list li div.item{ margin-top:0px; } } ul#course-list li.course_single_item .row .col-md-8.col-sm-8 .item { height: 100px !important; }
    #374836
    Veronica
    Moderator
    This reply has been marked as private.
    #374894
    MeesterGijs
    Spectator
    Ok. That worked, Veronica. Great! One final touch... Can we align the courses like this. And can we have them alphabetically like this and not this? Thanks a million! Gijs
    #374909
    Anshuman Sahu
    Keymaster
    Well the creds are not working anymore please share them again to check that page .
    #374950
    MeesterGijs
    Spectator
    This reply has been marked as private.
    #375411
    Veronica
    Moderator
    checking
    #375413
    Veronica
    Moderator
    hi here is the code: @media only screen and (max-width: 768px){ .directory.course div#course-dir-list ul#course-list .item-credits strong{ padding: 0px !important; margin-left: -5px !important; } ul#course-list li.course_single_item .row .col-md-8.col-sm-8 .item { height: 100px !important; } ul#course-list { display: flex; flex-wrap: wrap; } ul#course-list li.course_single_item { flex: 1; } } refer the output: http://prntscr.com/20yewx2 both requirements are fulfilled: https://imgur.com/a/RBp04Si https://imgur.com/a/WNDJJ2m
    #375424
    MeesterGijs
    Spectator
    Again, it doesn't work here. How come? I checked computed diff, a lot of code is different. Is non missing from previous code? https://imgur.com/a/BLtkRtZ
Viewing 15 posts - 1 through 15 (of 18 total)
  • The topic ‘courses page on mobile’ is closed to new replies.