Viewing 10 posts - 1 through 10 (of 10 total)
  • #24408
    mhawker
    Member
    Post count: 32

    I have setup a menu widget in the sidebar that is calling in a menu.

    The style of the links is set as follows.

    a, .ui-widget-content a {
    color: #415B87;
    }

    The issue is this not only styles that one category but any other subcategoryys that are beneath the main category, please see screenshot.

    I am using the custom menu widget instead of the Woocommerce Product categories to make sure I get the exact order and level of hierarchy as well as styles. The other widget was not displaying to what we need.

    Please advise on how to style just the current Product Category using this method.

    #24759
    Melanie – SUPPORT
    Member
    Post count: 11032

    Can you show me a link of your website or a screenshot? Thanks!

    #24794
    mhawker
    Member
    Post count: 32

    Attached.

    #25081
    Melanie – SUPPORT
    Member
    Post count: 11032

    Can you show me your website live? I will look for custom css for you ๐Ÿ™‚

    #25662
    mhawker
    Member
    Post count: 32
    #26109
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi,

    add this custom css and let me know if it works please:

    .sub-menu a {
    color: #333!important;
    }
    
    .sub-menu li.current-menu-item a {
    color: #f58220!important;
    }
    

    Cheers!

    #26724
    mhawker
    Member
    Post count: 32

    Hi Melanie,

    This did work for the side menu but then it causes the main menus to lose there styling.

    Do we have some CSS that will fix this without effecting main menu?

    #27085
    Melanie – SUPPORT
    Member
    Post count: 11032
    .sidebar .sub-menu a {
    color: #333!important;
    }
    
    .sidebar .sub-menu li.current-menu-item a {
    color: #f58220!important;
    }
    #27221
    mhawker
    Member
    Post count: 32

    Perfect ๐Ÿ™‚

    #27672
    Melanie – SUPPORT
    Member
    Post count: 11032

    Woohoo! ๐Ÿ™‚

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register