Jump to content

How to set product 'Size' and Variants to lowercase

Recommended Posts

2 hours ago, ChrisFaber said:

Site URL: https://even-studios.com/shop/p/product-name-3-e295w

Hi!

How can i change 'Size' and Variants of product pages to lowercase?
We'd like to have everythig lowercase throughout the shop...

Would be nice to get some css help!!

Best, Chris
 

I saw you use text-transform: normal to get rid of uppercase, which is good now right?

image.thumb.png.02027ac6363728688483773570bebf49.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Thanks a lot!

I was able to do this within the editor using a custom value - did work for 'size' and the values
(small, medium, large) themselves. But 'Select size' ist still uppercase,
and i don't know how to call this via css.

I'll probably have to change more of this in the cart etc. since the brand's CI is about being
lowercase all the way.

Maybe you've got a pointer for me where to find a list of those elements to be altered via css.
I'm not really firm with this, but eager to learn 🙂

Link to comment
4 hours ago, ChrisFaber said:

Thanks a lot!

I was able to do this within the editor using a custom value - did work for 'size' and the values
(small, medium, large) themselves. But 'Select size' ist still uppercase,
and i don't know how to call this via css.

I'll probably have to change more of this in the cart etc. since the brand's CI is about being
lowercase all the way.

Maybe you've got a pointer for me where to find a list of those elements to be altered via css.
I'm not really firm with this, but eager to learn 🙂

try

.product-details .variant-select-wrapper:before {
    content: attr(data-text);
    display: inline-block;
    text-transform: lowercase;
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.