Changing colour swatch sizes

Changing colour swatch sizes

RVWebsitehelp
Tourist
16 0 3

Hi,

I am trying to change the shape of my colour swatches from circles to square/rectangle . I have a paid Vision theme made by fuel themes (they cannot help apparently) Is this possible? Many thanks

Replies 19 (19)

Moeed
Shopify Partner
6530 1773 2144

Hey @RVWebsitehelp 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


RVWebsitehelp
Tourist
16 0 3
Moeed
Shopify Partner
6530 1773 2144

Hey @RVWebsitehelp 

 

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>
.product-card .product-card-swatches .product-card-swatch:after {
    border-radius: 0 !important;
}
.product-card .product-card-swatches .product-card-swatch {
    border-radius: 0 !important;
}
</style>

RESULT:

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


RVWebsitehelp
Tourist
16 0 3

Screenshot 2024-12-04 at 11.33.17.png

 

They are still round on the product page, this is the issue I am trying to sort. Shall I remove the previous piece of code I have just inserted? I await your next steps. Many thanks

Moeed
Shopify Partner
6530 1773 2144

Can you send me the link of that exact product?

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


steve_michael2
Trailblazer
438 38 55

Hi @RVWebsitehelp 

 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.

 

 

.variations .product-form__input--color input[type=radio]+label:after {
    border-radius: 0 !important;
 ]
}

 

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

If you are happy with my help, you can help me buy a COFFEE

Thanks!

Crafting exceptional online experiences with innovative design and technology.

Try Big Bulk Discount To Boost Your Store Sales with Volume/Tier Discount
RVWebsitehelp
Tourist
16 0 3

Thanks but this hasn't helped either

 

steve_michael2
Trailblazer
438 38 55

 

 

 

 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file. 

 

 

.variations .product-form__input--color input[type=radio]+label {
    border-radius: 0% !important;
}

.variations .product-form__input--color input[type=radio]+label:after{
 border-radius: 0% !important;
}

 


result

steve_michael2_0-1733315900070.png

 

Crafting exceptional online experiences with innovative design and technology.

Try Big Bulk Discount To Boost Your Store Sales with Volume/Tier Discount
RVWebsitehelp
Tourist
16 0 3

Okay great. That looks much better but for some reason it's still not showing on my end? Can you show me the exact location where I have to paste this please?

 

steve_michael2
Trailblazer
438 38 55

steve_michael2_0-1733316438931.png

 

steve_michael2_1-1733316460239.png

Search theme.css/base.css

steve_michael2_2-1733316473439.png

 

 

 

.variations .product-form__input--color input[type=radio]+label {
    border-radius: 0% !important;
}

.variations .product-form__input--color input[type=radio]+label:after{
 border-radius: 0% !important;
}
Crafting exceptional online experiences with innovative design and technology.

Try Big Bulk Discount To Boost Your Store Sales with Volume/Tier Discount
RVWebsitehelp
Tourist
16 0 3

I don't seem to have base.css have you created this?

steve_michael2
Trailblazer
438 38 55

Find theme.css

 

Crafting exceptional online experiences with innovative design and technology.

Try Big Bulk Discount To Boost Your Store Sales with Volume/Tier Discount
RVWebsitehelp
Tourist
16 0 3

IMG_6782.jpg

I have tried searching for theme.css but nothing shows. The only thing I am getting is theme.liquid. Sorry I am not very good at this

steve_michael2
Trailblazer
438 38 55

In theme.liquid, paste the below code before </head>

 

<style>
.variations .product-form__input--color input[type=radio]+label {
    border-radius: 0% !important;
}

.variations .product-form__input--color input[type=radio]+label:after{
 border-radius: 0% !important;
}
</style>

 

 

Crafting exceptional online experiences with innovative design and technology.

Try Big Bulk Discount To Boost Your Store Sales with Volume/Tier Discount
RVWebsitehelp
Tourist
16 0 3

Amazing. Thank you very much

ZestardTech
Shopify Partner
5986 1076 1441

Hello @RVWebsitehelp 

 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > main.css and paste this at the bottom of the file:

 

.variations .product-form__input--color input[type=radio]+label {
border-radius: 0% !important;
}

.variations .product-form__input--color input[type=radio]+label:after{
border-radius: 0% !important;
}

 

ZestardTech_0-1733318671824.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

RVWebsitehelp
Tourist
16 0 3

Easify-Jolie
Shopify Partner
83 4 5

Hi @RVWebsitehelp 

I recommend Easify Product Options for this! It’s a straightforward way to customize your swatches, and it simplifies the process by not requiring any coding. Here’s how it can help you:

  • This is the result

EasifyJolie_0-1733369545527.png

 

EasifyJolie_1-1733369545607.png

 

  • This is app setting: Color Swatch in Easify Product Options allow you to set Swatch Shape and Column Width. All of these features are free!

EasifyJolie_2-1733369545545.png

 

I hope this answer helps solve the problem. If you need further assistance, feel free to reach out to Easify anytime! 😊

Easify Product Options: Any product options app can help you create custom options, but Easify turns those options into sales and conversions!
Easify Inventory Sync: Automate inventory syncing for Bundles, Duplicates, and Raw Materials. Say goodbye to manual tracking headaches.
Easify Product Attachments: Enrich your store with downloadable content. Easily add PDFs and other files to product or any page.
>>> Try Apps for Free | 24/7 Live Chat Support