Jump to content

How to set product 'Size' and Variants to lowercase

Recommended Posts

  • Replies 3
  • Views 557
  • Created
  • Last Reply
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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.