Am currently having an alignment issue with my theme color swatches, am using VESSEL THEME. The theme has an option to place the swatches in the center, but it’s different from what I have seem in other stores. I just want the center option for the swatches to be able to align it in the pattern shown in the second photo.
hey @Tobyraphael dear follow these steps
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->before the ----->
before the body ----->
if this code work please do not forget to like and mark it solution
Hey In order to make the color swatches on the collection page and featured collection then you need to place the following code in the end of base.css file.
Here is how you can find the base.css file.
Go to Shopify Admin.
Click on Online Store > Themes.
In the theme click on three dots and then Edit Code.
In the Edit code search for base.css file.
Go to the end of this file and paste the following code.
swatches-variant-picker-component {
justify-content: center !important;
}
Navigate to Online Store > Themes > click on Edit code.
Locate and open the theme.css or base.css file. Scroll to the bottom and add the following CSS code:
swatches-variant-picker-component {
justify-content: center !important;
}