[Resolved] Hide secondary navigation on static blogsite

Home Forums Support [Resolved] Hide secondary navigation on static blogsite

Home Forums Support Hide secondary navigation on static blogsite

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #294677
    Key Largo

    Hallo,

    on my site “keramikgasse.de” I work with 2 static sides. The first is called “Startseite” / startside.

    The second is called “Blogseite” / blogside.

    On the “Blogseite” /blogside it is not possible to deactivate elements, for example the secondary menu.

    Both menus, first and second, are displayed.

    Is it possible to change this?

    Greatings from Germany
    key

    #294716
    Leo
    Staff
    Customer Support

    Hi Key,

    WordPress ignores all meta box on index pages (blog, archive etc) by default.

    Try this CSS:

    .blog .secondary-navigation,
    .archive .secondary-navigation {
        display: none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know.

    #295068
    Carol

    BINGO, Thanks!

    #295098
    Key Largo

    Hallo Leo,

    thx for your fast answer!

    I tried it both, about additional WP css and about Simple CSS (active at the moment), but it does not work. You can watch the page here: https://keramikgasse.de/de/blogseite/

    Greatings
    key

    #295272
    Leo
    Staff
    Customer Support

    Hmm I don’t see the CSS being added. Have you added anything else in Simple CSS?

    Let me know.

    #295382
    Key Largo

    Only the CSS out of this posting. Please, have a look:

    #295383
    Leo
    Staff
    Customer Support

    You missed the dot before “blog”.

    It should be .blog.

    Let me know.

    #295384
    Key Largo

    πŸ˜€ oha!

    I added the little dot and now it works…

    …great!!!

    Many THX for the support!

    #295385
    Leo
    Staff
    Customer Support

    You’re welcome πŸ™‚

    #295389
    Key Largo

    CSS ist a complete foreign language for me… πŸ˜‰

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