Please help me fix to pill instead of square selector , prestige theme

Solved

Please help me fix to pill instead of square selector , prestige theme

tigrisjewelryco
Tourist
13 0 1

Please help me fix to pill or circle instead of square selector with ability to choose font style , prestige theme. Store password is ENZO.

Thanks!!Snipaste_2024-07-24_15-08-41.png

 

 

 

i want it like this 

Snipaste_2024-07-24_15-11-38.png 

Accepted Solution (1)

Sweans
Shopify Partner
397 77 118

This is an accepted solution.

Hi @tigrisjewelryco ,

We have checked your website and follow below steps to achieve this.

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.css

Step 3: Insert the below style at the bottom of the file to make the elements shape pill/round.

.block-swatch {
border-radius: 999px !important;
line-height: 24px !important;
height: 41px !important;
}


The pill/round data in the "Size" and "Single or Pair" sections seems to require some vertical alignment adjustments. So, we have added line-height and height attributes to the selector to correct that. Please see the attached screenshot of the result on your website. <Place Screenshot here>

Sweans_0-1721891885901.png

 

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
If this solves the problem, please Mark it as Solution!

Reagrds,
Sweans

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

View solution in original post

Replies 2 (2)

MaverickStudio
Shopify Partner
101 32 34

Hey @tigrisjewelryco 

To add the rounded corner to your swatch selector add the following code
Step 1: Go to Online Store > Theme > Edit code > find  theme.css file and paste this at the bottom

 

.block-swatch {
	border-radius: 60px !important;
}

 

♥ If you found my solution helpful, please consider giving it a Like and marking it as the ✔ Accepted Solution


Try our WhatsApp Chat Button Widget with multipe agents.Supachat: WhatsApp Chat Button


A Product of Maverick Studio

Sweans
Shopify Partner
397 77 118

This is an accepted solution.

Hi @tigrisjewelryco ,

We have checked your website and follow below steps to achieve this.

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.css

Step 3: Insert the below style at the bottom of the file to make the elements shape pill/round.

.block-swatch {
border-radius: 999px !important;
line-height: 24px !important;
height: 41px !important;
}


The pill/round data in the "Size" and "Single or Pair" sections seems to require some vertical alignment adjustments. So, we have added line-height and height attributes to the selector to correct that. Please see the attached screenshot of the result on your website. <Place Screenshot here>

Sweans_0-1721891885901.png

 

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
If this solves the problem, please Mark it as Solution!

Reagrds,
Sweans

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com