Site logo

[Resolved] Secondary navigation like in dispatch

Home Forums Support [Resolved] Secondary navigation like in dispatch

Home Forums Support Secondary navigation like in dispatch

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2507546
    Dr Hatice

    Hi Ying,
    Thanks for your previous reply.

    As you said, I placed this code in my additional css.

    .inside-navigation.grid-container.grid-parent .main-nav:before {
    content: “Articles”;
    color: #FFF;
    padding: 20px;
    font-size: 22px;
    }

    .inside-navigation.grid-container.grid-parent .main-nav {
    display: flex;
    align-items: center;
    }

    However I have two issues;
    1- The text “Articles” appears both before the Primary and Secondary Navigation. I only want for the Secondary Navigation.
    2- I couldn’t change/style background colour of the secondary navigation. (For instance I want to try grey like in dispatch – or a different color instead of white.)

    Best regards,
    Hatice

    #2507552
    Ying
    Staff
    Customer Support

    Hi Hatice,

    Can you link us to your site?

    #2507562
    Dr Hatice
    #2507606
    Ying
    Staff
    Customer Support

    1. Change the 1st CSS to:

    .secondary-navigation .inside-navigation.grid-container.grid-parent .main-nav:before {
        content: "Articles:";
        color: #6e3741;
        padding: 20px;
        font-size: 22px;
    }

    2. You can change the secondary navigation color at customizer > layout > Secondary Navigation > navigation background.

    Let me know if this helps!

    #2507626
    Dr Hatice

    Hi Ying,
    Many thanks for your help.
    All works ok now.
    Hatice

    #2507646
    Ying
    Staff
    Customer Support

    Glad to hear that 🙂

    #2507731
    Dr Hatice

    Sorry but I realised one issue.
    Can I exclude this 1st CSS from mobile and use Customizer Mobile Menu Label.

    Because it is not fit properly. (Articles appear below mobile dropdown menu)
    Thanks

    #2507913
    Ying
    Staff
    Customer Support

    Yes, you can change the 1st CSS to this:

    @media(min-width: 769px) { 
        .secondary-navigation .inside-navigation.grid-container.grid-parent .main-nav:before {
            content: "Articles:";
            color: #6e3741;
            padding: 20px;
            font-size: 22px;
        }
    }
    #2508441
    Dr Hatice

    Hi Ying,
    Thanks a lot..

    #2508860
    Ying
    Staff
    Customer Support

    You are welcome   🙂

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