Why is there no space between variant label

Solved

Why is there no space between variant label

ChristinaLavery
Tourist
5 0 2

ChristinaLavery_0-1726233541007.png

 

 

Hi, 

 

Where in my coding would this highlighted section be?

 

I have looked throughout and i cannot locate this anywhere. 

I have also looked on the theme language page, not there either.

 

Thanks!

Accepted Solution (1)

Moeed
Shopify Partner
5544 1501 1792

This is an accepted solution.

Hey @ChristinaLavery 

 

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>
.ProductForm__Option.ProductForm__Option--labelled span.ProductForm__Label {
    visibility: hidden;
}
.ProductForm__Option.ProductForm__Option--labelled span.ProductForm__Label:after {
    visibility: visible;
    content: "Size Description";
    float: left !important;
}
</style>

RESULT:

Moeed_0-1726233867459.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


View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
5544 1501 1792

This is an accepted solution.

Hey @ChristinaLavery 

 

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>
.ProductForm__Option.ProductForm__Option--labelled span.ProductForm__Label {
    visibility: hidden;
}
.ProductForm__Option.ProductForm__Option--labelled span.ProductForm__Label:after {
    visibility: visible;
    content: "Size Description";
    float: left !important;
}
</style>

RESULT:

Moeed_0-1726233867459.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


ChristinaLavery
Tourist
5 0 2

Thank you!

Moeed
Shopify Partner
5544 1501 1792

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


websensepro
Shopify Partner
1221 136 156

Hi @ChristinaLavery ,

 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

<style>
.ProductForm__Option.ProductForm__Option--labelled span.ProductForm__Label {
    visibility: hidden;
}
.ProductForm__Option.ProductForm__Option--labelled span.ProductForm__Label:after {
    visibility: visible;
    content: "Size Description";
    float: left !important;
}
</style>

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial