Category Box Radius - by talonhead - on WordPress WooCommerce support

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

  • Avatar: talonhead
    talonhead
    Participant
    September 10, 2016 at 15:46

    Hey Jack. I’m not sure what happened, but the code you gave me to radius the corners of the Product Categories box no longer works since I removed the widget from the page…then put it back.

    It was at that point the corners were no longer radiused.

    What happened?

    http://prntscr.com/cgefnv

    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    September 12, 2016 at 10:13

    Hello,

    I’ve edited your code to this one:

    .sidebar .woocommerce_product_categories .widget-title, 
    .sidebar .widget_product_categories .widget-title {
        border-radius: 5px;
    }

    Check sidebar now.

    Regards,
    Eva Kemp.

    Avatar: talonhead
    talonhead
    Participant
    September 12, 2016 at 11:34

    Great! Now tell me why that happened by just removing the widget and replacing it?

    Avatar: Eva
    Eva Kemp
    Support staff
    September 12, 2016 at 11:43

    Hello,

    As you can see classes are different .woocommerce_product_categories and .widget_product_categories. Perhaps you re-added the widget from new Woocommerce version.

    Regards,
    Eva Kemp.

    Avatar: talonhead
    talonhead
    Participant
    September 12, 2016 at 11:49

    Yep…I know the classes are different. But just didn’t know *how* they got different.No different version of WC intervened between the old code and the new.

    Why two lines of code using both classes? Why wouldn’t this work the same?

    .sidebar .widget_product_categories .widget-title {
    border-radius: 5px;
    }

    Previously only one class was designated.

    Avatar: Eva
    Eva Kemp
    Support staff
    September 12, 2016 at 18:25

    Hello,

    Perhaps you had enabled the option “Show product categories” in Theme Options > E-Commerce > Product Page Layout where categories widget has class .woocommerce_product_categories.

    Regards,
    Eva Kemp.

    Avatar: talonhead
    talonhead
    Participant
    September 12, 2016 at 22:30

    That doesn’t really answer the question based on the info I’ve already given you…but it doesn’t matter. It works. Close it up. Thanks.

    Avatar: Eva
    Eva Kemp
    Support staff
    September 13, 2016 at 07:31

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

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

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