Site logo

[Resolved] Center site logo when navigation is hidden

Home Forums Support [Resolved] Center site logo when navigation is hidden

Home Forums Support Center site logo when navigation is hidden

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2566773
    generatepressiscool

    I’m using the SEARCH theme in the site library – https://generatepress.com/site-library/

    1) I’ve disabled the primary navigation on certain pages using the LAYOUT element. This works.

    2) Now I want the site logo to be centered on the pages where the primary navigation is disabled using the LAYOUT element.

    How to do this?

    #2566776
    Fernando
    Customer Support

    Hi there,

    Can you provide a link to a page where the primary nav is disabled?

    You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2566822
    generatepressiscool

    Sorry, the website is not live, it’s only a local install.

    But I’m using a standard install of the SEARCH theme in your site library – https://generatepress.com/site-library/

    #2566846
    Fernando
    Customer Support

    Try this CSS:

    :is(.page-id-7, .page-id-8) header .inside-header.grid-container {
        justify-content: center;
    }

    Just replace the page-id’s with your pages’ ids.

    #2566863
    generatepressiscool

    Excellent, that works!

    #2566882
    Fernando
    Customer Support

    Glad that worked!

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