Site logo

[Resolved] StoryBrand style menu item

Home Forums Support [Resolved] StoryBrand style menu item

Home Forums Support StoryBrand style menu item

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2527692
    Dajuan

    Hi GP team,

    I obtained the CSS code below from support to implement the StoryBrand style menu item. I have two questions:

    1. I added “!important” because the desired text color didn’t take effect. Is this OK?
    2. How do I apply this CSS to the mobile menu?

    Here’s the site: https://inhisimagephotography.com/

    /* StoryBrand Contact Button */
    .main-navigation:not(.slideout-navigation)
    .main-nav li.nav-button a {
    	background-color: #899FB7;
    	color: #ffffff	!important;
    	border-radius: 40px;
    }
    .main-navigation:not(.slideout-navigation)
    .main-nav li.nav-button a:hover {
    	background-color: #ffffff;
    	color: #899FB7	!important;
    }
    #2527757
    Ying
    Staff
    Customer Support

    Hi Dajuan,

    1. Yes, you can add !important.

    2. You are using slideout navigation (off canvas mennu) on mobile, so just remove :not(.slideout-navigation) from both code.

    And you need to add nav-button class to the contact button in the menu that you assigned to the off-canvas menu as well, just like what you’ve done for the menu on the desktop.

    #2527854
    Dajuan

    Thank you Ying!

    #2527890
    Ying
    Staff
    Customer Support

    No Problem, glad to help 🙂

    #2527940
    Dajuan

    Hi Ying,

    I suspect there is a conflict when I’m on the page for which the menu item has nav-button applied. See what happens to the Contact Us menu item when you’re on the Contact page:

    https://inhisimagephotography.com/contact-us/

    #2527988
    Fernando
    Customer Support

    Hi Dajuan,

    Try adding a !important to this line as well:

    background-color: #899FB7;

    #2528008
    Dajuan

    Amazing. Thank you!

    #2528009
    Fernando
    Customer Support

    You’re welcome, Dajuan!

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