Shopify themes, liquid, logos, and UX
Hello! i want to change the background color of my featured collection to white on my home page. The rest of the page i want to keep black. Can someone show me how to do this? thank you! my website is www.onlybeyu.com
I want the white background of each product to lay on top of a white background just in the featured collection area.
this is what i want it to look like. I also need the words to be black in this area only.
Solved! Go to the solution
This is an accepted solution.
Hi @onlybeyu
Check this one.
div#shopify-section-template--17050546241749__featured-collection, .grid__image-ratio {
background: white !important;
}
.index-section {
padding: 75px 0;
margin: 0px !important;
}
.custom__item {
margin-bottom: 0px !important;
}
div#shopify-section-template--17050546241749__featured-collection .text-link, a {
color: black !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
I want to change the background color of the area where the products are. I want a white background so you cant see the white boxes of each product featured.
Hi @onlybeyu,
You can add custom CSS for the Featured Collection section, navigate to Theme -> Customize -> Home page -> select Featured Collection section -> Custom CSS.
Select the section class and add the following CSS to set the background color to white to section class:
background-color: #ffffff;
This will give you a white background for the selected section.
hello, thank you for the reply. I have updated my first question with images. If you could check it out that would be great!
Hi @onlybeyu,
You can add the below CSS for make background as your requirement.
#shopify-section-template--17050546241749__featured-collection{
background-color: #ffffff;
}
#shopify-section-template--17050546241749__featured-collection .grid__image-ratio{
background-color: #ffffff !important;
}
Its telling me to correct the errors before i can publish
Try this.
#CollectionSection-template--17050546241749__featured-collection {
background-color: #ffffff;
}
#CollectionSection-template--17050546241749__featured-collection
.grid__image-ratio {
background-color: #ffffff !important;
}
It wouldnt let me add it
I fixed it again and it is still saying that it cant be published
Hi @onlybeyu ,
Did you try this?
#CollectionSection-template--17050546241749__featured-collection {
background-color: #ffffff;
}
#CollectionSection-template--17050546241749__featured-collection
.grid__image-ratio {
background-color: #ffffff !important;
}
so the background code worked thank you. How do i change the product title words to black?
Also How do I moved my images back leveled. Now it seems one is higher than the other and the prices are not aligned.
ok the first code finally worked. I dont know why its acting weird. How do i get the words to be black just the words not the prices? thank you !!
Hi @onlybeyu ,
You're most welcome! If the solution works for you, kindly consider liking and accepting it. This will help others find quality solutions more easily.
This is an accepted solution.
Hi @onlybeyu
Check this one.
div#shopify-section-template--17050546241749__featured-collection, .grid__image-ratio {
background: white !important;
}
.index-section {
padding: 75px 0;
margin: 0px !important;
}
.custom__item {
margin-bottom: 0px !important;
}
div#shopify-section-template--17050546241749__featured-collection .text-link, a {
color: black !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
this worked perfectly and i can edit the padding! thank you !!! xoxo
Welcome. Oh, I just change the margin into padding. And its the actual size of it.
Ok new issue lmao when changing the text to black it changed my header text black and the words inside click buttons on my slide shows black. How do i turn those parts back white ?
Can someone help me alter the header, the words inside my click boxes inside my slide shows, the menu tab words, and the header in the collections area color back to white (everything circled in red) ? I have attached the original code i was given and it was added to the bottom of my theme.css file
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024