[Resolved] How to style off canvas parent items different than sub-menu items

Home Forums Support [Resolved] How to style off canvas parent items different than sub-menu items

Home Forums Support How to style off canvas parent items different than sub-menu items

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1448980
    Elizabeth

    Hi,

    I’m working on a new website for a client and I would like to style the off canvas parent items differently than the sub-menu items. What I would like is for the parent items to be uppercase with a font weight of 700.

    I’ve tried a variety of css options to do this, but so far, they affect both the parent and sub-menu items. What do you suggest?

    Here’s a link to the website https://tdi.candyappledev.com/.

    Thank you,
    Elizabeth

    #1448991
    Leo
    Staff
    Customer Support

    Hi there,

    This CSS should work:

    @media (max-width: 768px) {
        .slideout-navigation.main-navigation .main-nav > ul > li > a {
            font-weight: 700;
        }
    }
    #1449043
    Elizabeth

    Thank you, Leo! Yes, this works perfectly and I’ll note it for next time.

    Elizabeth

    #1449058
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.