Viewing 6 replies - 1 through 6 (of 6 total)
  • Stef

    (@serafinnyc)

    The page ID for this page
    https://evo.science/AICPA/aboutevo

    isn’t 472, it’s page-id-349

    So you’d add this

    .page-id-349 #nav-menu{
      display:none !important;
    }
    

    Also, disable your cache plugin Autoptimize so you can see your changes.

    Thread Starter evoczb

    (@evoczb)

    Hi,

    evo.science/aboutevo is page id 349, but I’m working on https://evo.science/AICPA/aboutevo. Doing a View Source, I see this page is ID 472. Please confirm. Thanks!

    Stef

    (@serafinnyc)

    Well, you have some redirect on there for those links. So I’m not sure how to help you otherwise.

    Supply good URLs or turn off whatever redirect you have for any page.

    Thread Starter evoczb

    (@evoczb)

    It’s because the page I’m referring to is not published live, as I don’t want it live with the header visible. I was hoping I could get some feedback on the appropriate CSS to use knowing the page ID.

    • This reply was modified 5 years ago by evoczb.
    Stef

    (@serafinnyc)

    So how do you expect someone to help you?

    Thread Starter evoczb

    (@evoczb)

    Resolved via another approach without needing custom css.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Simple Custom CSS to hide menu from a single page’ is closed to new replies.