Jump to content

Remove padding from variant option select

Recommended Posts

Site URL: https://mistoa.squarespace.com

 

site: https://mistoa.squarespace.com/tienda/p/maceta-altano

password: 1234

 

Hi!

I'm trying to remove space from variant-option select (Selecciona color), so it gets aligned with variant-option (Color) on Product pages (see screenshot below).

I've tried changing padding, but failed. 

Any ideas?

Thanks!

 

 

padding.thumb.png.8920f4a9e668d81945b419bb3511efb6.png

Edited by Begona
Link to comment
15 hours ago, Begona said:

Site URL: https://mistoa.mx/

 

site: https://mistoa.mx/tienda/p/maceta-altano

password: 1234

 

Hi!

I'm trying to remove space from variant-option select (Selecciona color), so it gets aligned with variant-option (Color) on Product pages (see screenshot below).

I've tried changing padding, but failed. 

Any ideas?

Thanks!

 

 

padding.thumb.png.8920f4a9e668d81945b419bb3511efb6.png

try

.ProductItem-details .variant-select-wrapper {
      padding-bottom: 2.5rem;
}
.product-details .variant-select-wrapper:before {
    content: attr(data-text);
    display: inline-block;
    left: 0;
    position: absolute;
}

image.thumb.png.9a8142dc61614a6ed89df7849f6a2eb7.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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

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.