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

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.