• Resolved cypmark

    (@cypmark)


    Hello,

    I’m using the standard woocommerce sidebar widget for categories.

    It’s also showing my sub categories.

    I need to bold the main categories text links so that they are clear and differentiate from the sub categories.

    Divi support gave me the code below but it doesn’t work.

    Sorry I can’t send the link but have a screenshot if that helps.

    Thanks Danny

    ___________

    li#select2-product_cat-result-0sfw-alcoholic-drinks {
    font-weight: bold;
    }

    li#select2-product_cat-result-3l29-bakery-cakes{

    font-weight: bold;

    }

    li#select2-product_cat-result-3qd5-biscuits{

    font-weight: bold;
    }

    _________________________________________________

Viewing 1 replies (of 1 total)
  • Plugin Support Aashik P – a11n

    (@aashik)

    Hello Danny,

    This forum is specifically for assistance with core WooCommerce features.

    Using Storefront with WooCommerce, all the listed categories are bold by default. If you only want to make the parent categories bold, you can try the following CSS fix:

    .cat-parent .children a {
        font-weight: 300;
    }

    Using the above snippet, this is what I see on my test site:

    categories
    Link to image: https://d.pr/i/bRbKjz

    If the problem is specifically with a third-party theme like Divi, the best way forward would be to reach out to the theme developers and request them to fix the CSS that they shared with you.

    I’ll mark this topic as solved for now. Please feel free to open a new topic if you have any other questions specific to core WooCommerce.

Viewing 1 replies (of 1 total)

The topic ‘Woo widget categories in bold’ is closed to new replies.