sethbarham Posted October 25, 2017 Posted October 25, 2017 Hi all, I am slowly learning CSS but inevitably have problems with syntax between different themes. I'm trying to change the background color (technically an overlay in this case) for the Services section on this index page. The collection ID is 59e653fc8fd4d2e4bc8651b2, which I've tried to incorporate in various ways, but I cannot get the bloody syntax right. Sofia (Brine family) has two overlays that alternate on indexes, so sometimes if you want to change the color on one section the overlay will ruin an image on another section. I'm trying to change the color to hsla(28, 100%, 44%, 0.18). The site in question: https://www.joannethedoglady.com Thanks for any and all help, hopefully I'll be asking less questions in the future and answering more!
Casperster18 Posted October 25, 2017 Posted October 25, 2017 Hey there, Instead of using the Collection ID to change background colors, you can use the pagename. This should work instead: #services { background-color: #e06900; } I know right? It's much easier than you'd expect.I hope this works for you!
sethbarham Posted October 25, 2017 Author Posted October 25, 2017 Wow, I guess I was overthinking it. Thanks so much!
lottydotty Posted February 2, 2018 Posted February 2, 2018 Thank you! That was so brilliantly simple :)
KingdomCreativeCo Posted April 27, 2020 Posted April 27, 2020 Thanks for this... I have the same need, but then also need to switch the font color in this section for body and headings. Can anyone help? I want the font to be white.
tuanphan Posted April 28, 2020 Posted April 28, 2020 1 hour ago, KingdomCreativeCo said: Thanks for this... I have the same need, but then also need to switch the font color in this section for body and headings. Can anyone help? I want the font to be white. Can you share link to your site? We can take a look Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.