All things Shopify and commerce
i cant find the base.css, i wanna change color of product and compare price.
this is my link https://www.william-project.com/
Try going to the online store, then click on the three dots next to the customization button and select the edit code action. Next, find the CSS file. It might be named differently than base.css, depending on the theme. It could be custom.css or something similar. Then paste your styles there.
should i try the 3 .css ?
i only have those
in your theme there is a file called styles.css
you can add the following css and change the color to your preferred one
span.was-price.theme-money {
color: red;
}
great! it worked but i wanna put red on the price not the compared price
If it's help please mark my answer as a solution 🙂
.product-block.cc-product-block.on-sale span.theme-money {
color: red;
}
it worked but the problem is that now both are red
Change the code of my first message to:
span.was-price.theme-money {
color: #000;
}
is this correct ?
exactly
it didnt worked, is still red both
replace #000; with #000 !important;
try with this one:
span.was-price.theme-money {
color: pink;
}
no, it didtn worked, can you help me with the complete code please ? just to put red and black please
span.was-price.theme-money { color: #000 !important; }
@williamproject it's working on your website, please mark my answers as a solution 🙂
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024