Hello. How to edit the product page to have a little gap between product variants and quantity?
Link:
https://holycup.lt/collections/indu-kolekcija/products/stikliniai-siaudeliai-wavy-copy
Thanks!
A user seeks help adding spacing between product variants and quantity selector on their product page. A solution is provided involving custom CSS code:
Proposed Solution:
theme.liquid file<style> tags inside the <head> section.product-single-info and .options-swatch elements with specific margin adjustmentsCurrent Status:
The original poster attempted the solution but reports no visible changes occurred. They’re seeking clarification on the exact placement of the code within the <head> tag. The issue remains unresolved and awaiting further guidance.
Hello. How to edit the product page to have a little gap between product variants and quantity?
Link:
https://holycup.lt/collections/indu-kolekcija/products/stikliniai-siaudeliai-wavy-copy
Thanks!
Hello @manter ,
You can try this code by following these steps:
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Inside tag head. You need create style tags. After you’ll insert my code inside it
@media (max-width: 768px){
.tt-product-single-info .tt-options-swatch {
margin-top: -3px;
margin-bottom: 10px;
}
}
Thanks!
Thank you! Where exactly I have to place it? I tried placing in the but no change happened.