Hide sections on mobile

Home Forums Legacy Support Support queries Styling issues Hide sections on mobile

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33142
    chrsjensen
    Participant
    How do I hide less important sections from the mobile version of the website? Also, when viewing the website on the mobile the menu and logo is crammed (see attached). How do I fix that?
    #33260
    H.K. Latiyan
    Participant
    You can hide the specific sections by using media query css. For example: For your burger menu and the searchicon to be aligned use this custom css:
    @media (max-width: 767px){
    header #trigger {
    top:28px;
    }}
    You can adjust the 28px accordingly. For the logo use this custom css:
    @media (max-width:767px){
    header #logo a img {
    max-width:48px;
    }}
    You can adjust 48px accordingly. If the css doesn't work for you, then please share the site url with us to give you specific css.
    #36305
    chrsjensen
    Participant
    Where and how do I paste the css?
    #36389
    H.K. Latiyan
    Participant
    Please go to wp-admin->appearance->customize->custom css: and copy paste the above css there and save the changes.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Hide sections on mobile’ is closed to new replies.