Shopify themes, liquid, logos, and UX
ベルト付きワイドスラックス – Lavly
here is my shop
how to change this area's color
left to red right to brown
is it possible to change??
Solved! Go to the solution
This is an accepted solution.
1. Online Store > themes > Edit code
2. Open theme.css or base.css (depending on your theme).
3. Add this CSS at the bottom:
.icon-with-text__item:nth-child(1) {
color: red;
}
.icon-with-text__item:nth-child(2) {
color: saddlebrown;
}
.icon-with-text{
background: none !important;
}
Hey @lavly
Yes, you can change the color of that area using CSS. Since I don't have direct access to the structure of your Shopify store, here’s a general way to apply the gradient effect:
Follow these steps:
1. Online Store > themes > Edit code
2. Open theme.css or base.css (depending on your theme).
3. Add this CSS at the bottom: css Copy Edit:
.icon-with-text {
background: linear-gradient(to right, red, brown);
padding: 10px; /* Adjust padding as needed */
border-radius: 5px; /* Optional: adds rounded corners */
}
If I was able to help you, please don't forget to Like and mark it as the Solution!
Best Regard,
Rajat
thanks
it worked, but not background
just text and icon!
@lavly ,Try adding this to your CSS file or inside a <style> tag:
.icon-with-text {
background-color: #f8f9fa; /* Change this color as needed */
padding: 10px;
border-radius: 5px; /* Optional: Adds rounded corners */
}
.icon-with-text__item {
background-color: #e0e0e0; /* Change this to your preferred background color */
padding: 8px;
border-radius: 4px; /* Optional: Adds rounded corners */
display: flex;
align-items: center;
gap: 8px; /* Adjust spacing between icon and text */
}
If you want the background color to apply to the entire <ul> rather than each <li>, use .icon-with-text instead. Let me know if you need further adjustments!
Thanks
Hi @lavly, You want like this ?:
yes !
and text color white plz
This is an accepted solution.
1. Online Store > themes > Edit code
2. Open theme.css or base.css (depending on your theme).
3. Add this CSS at the bottom:
.icon-with-text__item:nth-child(1) {
color: red;
}
.icon-with-text__item:nth-child(2) {
color: saddlebrown;
}
.icon-with-text{
background: none !important;
}
Hi @lavly
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file theme.css and add this code at the end of the file
ul.icon-with-text.icon-with-text--horizontal.list-unstyled li:last-child {
color: brown !important;
}
li.icon-with-text__item {
color: red;
}
Result:
Best,
Liz
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025