Move size option up and to the left

Move size option up and to the left

Luxurymrkt
Globetrotter
771 2 164

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
7670 2064 2542

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

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Luxurymrkt
Globetrotter
771 2 164

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

Thank You | mike
Luxurymrkt
Globetrotter
771 2 164

@Moeed 

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

Thank You | mike

Made4uo-Ribe
Shopify Partner
10211 2427 3081

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

PageFly-Theodor
Shopify Partner
691 86 106

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.