Tagged: ,

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

    HI
    Two questions:

    I know I can turn the sidebar on and off globally on mobile devices, but how can I hide it on only certain pages (fx. page-id-370, page-id-246…) on my site?

    I have a portfolio grid sorting by ascending title on the page below, but it’s not correct. Have checked it many times – can you see what’s going on?

    thanks
    Nancy

    • This topic was modified 7 years, 5 months ago by Munford.
    #814404

    Hey Munford,

    Yes you should be able to turn the sidebar on and off for specific pages only. You can use this code as basis:

    @media only screen and (min-width: 720px) {
      .page-id-370 .sidebar {display:none !important;}
    }

    Just change the page ID as needed, and also the width you prefer.

    For more info on media queries, please see this reference: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    I’m afraid we can’t see your website while it’s on construction mode. Can you also provide login credentials please?

    Best regards,
    Sarah

    #814509

    nevermind I got it working.
    thanks –

    • This reply was modified 7 years, 5 months ago by Munford.
    #814885

    Hi,

    Glad that you fixed it. Thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘hide sidebar on mobile for certain pages, portfolio grid sorting wrong’ is closed to new replies.