Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #833590

    I am looking for a way to hide specific sections (that have been given a custom section id)

    One code that will allow me to hide specific sections on mobile, but appear on desktop – and another that will allow me to hide specific sections on desktop, but appear on mobile.

    For instance – if I have a section with images I want to display on desktop, but not on mobile ; or vice versa.

    Thank you in advance

    #833699

    Hey dvus4l,

    Please provide a link to the site so we can look into this further.

    Best regards,
    Jordan Shannon

    #835566

    Jordan,

    It can ultimately be any website – the website in question is this one

    I would like to hide certain sections on desktop, but to appear on mobile – and vice versa

    Thank you in advance

    #835643

    Hi,

    You can use this code to show custom section on mobile but not on desktop:

    #customid {
      display: none;
    }
    
    @media only screen and (max-width:767px) {
      #customid {
        display: block;
      }
    }

    Hope this helps, just replace customid with the custom id you are using. :)

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.