Move size option up and to the left

Move size option up and to the left

Luxurymrkt
Navigator
622 2 108

Hi,

 


I’d like to move the size options to start closer to the price and to the left

 

my site is https://luxurymrkt.com/collections/ets-fs-best-selling-products

 

67BA532C-20AC-4EF1-8C83-DAE08AF754CE.jpeg

 

 

Thank You | mike
Replies 5 (5)

Moeed
Shopify Partner
4403 1135 1394

Hey @Luxurymrkt 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
.usf-swatchs ul li label {
    margin-top: 0 !important;
}
.usf-swatchs ul {
    margin-left: 0 !important;
}
}
</style>

RESULT:

Moeed_0-1719860068277.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify Specialist? Chat on WhatsApp


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
Luxurymrkt
Navigator
622 2 108

It works just when there’s 2 rows of sizes it moves a tad

Thank You | mike
Luxurymrkt
Navigator
622 2 108

@Moeed 

14EC343B-7066-4D4A-8038-AA63A0DA6FC4.jpeg

Thank You | mike

Made4uo-Ribe
Shopify Partner
7000 1666 2058

Hi @Luxurymrkt 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  2. Select the theme you want to edit
  3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  4. Then place the code below at the very bottom of the file.

 

.usf-swatchs ul {
    margin-left: 0 !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1719859958292.png

    Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

PageFly-Theodor
Shopify Partner
691 86 98

Hi @Luxurymrkt 


This is Theodore from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.usf-swatchs ul {
    margin-left: 0 !important;
}
</style>

Hope this can help you solve the issue

 

Best regards,

Theodore | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.