How can I change the color of one word in the header of the featured collections sections?
I tried changing the section/page and using the CSS code that I used to change a word’s color in another section, but it didn’t work. what CSS code can I use to change a word color for this section?
Check the pic for reference. I want to change the color of the word “shop”.
your help and patience is appreciated!
URL: https://36c09f-58.myshopify.com/
password: leumpo
Hi @sculptingbodies
You can follow the instruction here:
-
Go to Shopify > Theme > Customize > open Custom CSS
-
Copy and paste this code to the section > Save
div#collection-template--16507269414963__featured_collection h2 span {
color: #8BAEFD; (or any color you want, eg: black, red, #C9C9C9,...)
}
Here is the result :
hmm, I must be doing something wrong because I’ve tried it multiple times and it hasn’t worked yet.
what line is on? maybe I’m putting the code in the wrong spot
Custom CSS on the Featured Collections Page? I tried it and it didn’t work
Hello @sculptingbodies
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.
.title-wrapper--no-top-margin > .title strong span {
color: crimson !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
I don’t know what i’m doing wrong because it’s still not working
Hello @sculptingbodies , you have added style right but you need to modify your structure as well below screenshot provided
.featured-collection-section .collection__title h2 span {
color: #8BAEFD;
}
Use this style instead of you added this because this id will changes when you change theme so give unique class then add style,
it will not give you problem when you change theme or add this section in another theme –
#shopify-section-template--16507269414963__featured_collection div#collection-template--16507269414963__featured_collection h2 span {
color: #8BAEFD;
}
Important : Donot use shopify inbuilt id this will lead issue when theme change
Hi @sculptingbodies
I hope you are well. You can follow our instructions below:
First, under Featured collection block here: https://prnt.sc/1v7qtKDXb6sZ - please help me adjust this tag there: text differnt color
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/iDxwa8zBQ4Z-
Step 3: Copy the code below and paste it there
Here is the code for Step 3:
.collection__title h2.title > span {
color: red;
}
Please let me know if it works. Thank you!
Best,
Daisy - Avada Support Team
THANK YOU! this actually worked!
1 Like