Categories - by queenb123 - on WordPress WooCommerce support

This topic has 8 replies, 2 voices, and was last updated 8 years, 4 months ago ago by Eva Kemp

  • Avatar: queenb123
    queenb123
    Participant
    December 30, 2015 at 20:55

    Hi Guys,

    I need your help please:

    please take a look at:

    http://postimg.org/image/a8xczhgtl/

    site here:

    http://www.brazilianweave.uk/product-category/frontal-type/3-way-parting-frontal-type/

    I have parent categories – and those categories have sub parent categories – the sub parent category have children.

    is there a code to change just the COLOUR children of the sub category?

    Then

    Once (children) selected – is there a way to change the colour too?

    Right now everthing looks very confusing???

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    January 4, 2016 at 11:26

    Hello,

    Please use this code in Custom CSS for desktop:

    .product-categories.with-accordion ul.children li ul li a {
        color: red;
    }

    To change color for the selected child category:

    .product-categories > li > ul.children li.current-cat > a {
      color: pink;
    }

    Write color values you need.

    Regards,
    Eva Kemp.

    Avatar: queenb123
    queenb123
    Participant
    January 4, 2016 at 22:32

    Hi Eva,

    thank you.

    the first part worked but the 2nd part:

    .product-categories > li > ul.children li.current-cat > a {
    color: pink;
    }

    did not work

    colour is still the same once selected.

    Any ideas pls?

    Avatar: Eva
    Eva Kemp
    Support staff
    January 5, 2016 at 11:17

    Hello,

    Please specify what color you want to change the selected category.

    Regards,
    Eva Kemp.

    Avatar: queenb123
    queenb123
    Participant
    January 5, 2016 at 22:34

    Here is what i needs changing:

    http://s10.postimg.org/nqs08f7o9/2016_01_05_21_22_39.png

    the child menu has child menu also.

    if this can be changed pls let me know…

    Avatar: Eva
    Eva Kemp
    Support staff
    January 6, 2016 at 12:02

    Hello,

    I’ve edited the code to this one:

    .product-categories > li > ul.children li.current-cat > a {
      color: #df1997 !important;
    }

    Please check categories now.

    Regards,
    Eva Kemp.

    Avatar: queenb123
    queenb123
    Participant
    January 7, 2016 at 13:31

    perfect thanks!

    Avatar: Eva
    Eva Kemp
    Support staff
    January 7, 2016 at 15:50

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Categories’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.