[Resolved] How can I target Off-Canvas menu items?

Home Forums Support How can I target Off-Canvas menu items?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1435912
    Andy

    Hi there,

    Iā€™d like to increase the font size of my menu items *without* changing the font size of my menu icon (sitting in header).

    How do I target the items here exclusively:

    View post on imgur.com

    Thanks!

    #1435932
    Elvin
    Customer Support

    Hi Andy,

    You can try this CSS code:

    .slideout-navigation.main-navigation .main-nav ul li a {
        font-size: 30px;
    }

    and if you want something different for mobile, you’ll have to use @media (max-width:768px){} which will look something like this:

    
    @media (max-width:768px){
    .slideout-navigation.main-navigation .main-nav ul li a {
        font-size: 17px;
    }
    }

    Let us know if this works for you.

    #1437380
    Andy

    Perfect thanks Elvin!

    #1437383
    Elvin
    Customer Support

    Nice one!

    No problem. šŸ™‚

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