Woocommerce attributes

I have this type of attribute in woocommerce

enter image description here

Read More

and I want it like the below image

enter image description here

I have parent child concept in attribute term but not have it in add product.

Any help will be appreciate.

Related posts

Leave a Reply

1 comment

  1. If you know exactly that Jelly Bean is going to be the 2nd li in the list, you can use a selector:

    li:nth-child(2) {
      padding-left: 15px;
    }
    

    Compatibility:
    IE9+
    Firefox 3.5+
    Chrome
    Safari

    If you care about older IE browser you need to solve it in another way 🙂