• Resolved xuannguyen99

    (@xuannguyen99)


    Hi, I use the custom menu in the widget, I use this code to change the font weight:

    .widget_nav_menu ul li a { font-weight:500}

    But it goes with all parent menu and sub menu. What I want is the font weight of Parent menu is bold and the sub menu is normal. Please help!

    https://quangducstore.com/san-pham/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try this CSS instead. For some reason it wasn’t working on my test site, but it should technically be correct.

    .menu-item-550 > a, .menu-item-551 > a, .menu-item-552 > a {
        font-weight: 500;
    }

    Copy and paste this CSS from the forum to Appearance> Theme Options> Advanced Settings.

    Let me know if it works for you!

    This would do it:

    .sidebar .widget-inner li.sf-dropdown > a {
        font-weight: bold;
    }

    Kadence themes

    Thread Starter xuannguyen99

    (@xuannguyen99)

    Thank you so much, it works!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change the font weight of custom menu in widget’ is closed to new replies.