Jump to content

Remove padding from variant option select

Recommended Posts

  • Replies 2
  • Views 1.6k
  • Created
  • Last Reply
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 - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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.