Home Forums Weaver Xtreme Theme How to hide bottom menu bar on single post

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17717
    weaverfan
    Participant

    This is about the homepage: http://hanauhornets.de

    Admin: 001, Password: 246810
    I’ ve tried the following rules in the per post style:
    +.single #page-1389 .nav-primary {display:none;}  and
    .single-post.postid-1389 #nav-primary {display:none;}
    But the bottom menu bar is still displayed. Can you help me with this?

    #21826
    scrambler
    Moderator

    If you are putting the rule in the Post editing page per post style box you need

    + .single.postid-1389 #nav-primary {display:none;}

    The logic is as follow

    • The selector for the menu is  #nav-primary
    • + tells weaver not to add the post id class
    • single is the body class for single post pages, and postid-1389 is the body class of that post.
      Given they are both body classes, they are at the same level so they need to be connected

    #21827
    weaverfan
    Participant

    Thank you so much for the rule and the explanation. I have learned something new – always a good thing. And: it works well!

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