Site logo

[Resolved] Placing site title in the sticky navigation

Home Forums Support [Resolved] Placing site title in the sticky navigation

Home Forums Support Placing site title in the sticky navigation

  • This topic has 9 replies, 2 voices, and was last updated 5 years ago by David.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1686938
    Erika

    Hi there,
    is there a method to display the site title in the sticky navigation on the left (navigation menu on the right)?
    Thanks, Erika

    #1687306
    David
    Staff
    Customer Support
    #1687727
    Erika

    Hi David,

    I did, but it is not displayed. If I select the generate_inside_navigation hook then I can see it, but that is the wrong place as I can´t justify the content here. Why is it not showing with generate_after_logo? Can you take a look?

    Thanks, Erika

    #1687875
    David
    Staff
    Customer Support

    Aah my bad the generate_after_logo hook only exists if you have a logo assigned to it.
    Change the hook the generate_inside_navigation and once its there i can take a look at and provide the CSS to position it.

    #1687885
    Erika

    Smile. I did, have a look. Why is justify-content: space-between not working on the navigation div?

    #1687906
    David
    Staff
    Customer Support

    it should work – probably the CSS needs to be more specific 🙂

    Try this CSS:

    .navigation-title-container {
      margin-right: auto;
      margin-left: 10px;
    }
    #1687997
    Erika

    Simple and nice, can we hide it on mobile?
    I tried this:

    @media
    (max-width: 768px) {
    .navigation-title-container {display: none;}
    }
    but it still displays. Any correction?

    #1688309
    David
    Staff
    Customer Support

    Aah the Mobile Header is using the Branding options ( in Customizer > Layout > Header –> Mobile Header ) to display the title.

    Use this CSS to remove it it’s sticky:

    #mobile-header.is_stuck .navigation-branding .main-title {
      display: none;
    }
    #1689227
    Erika

    Fantastic, as usual 😉 Thank you, David.

    #1689427
    David
    Staff
    Customer Support

    You’re welcome!

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