MoltoBello Posted October 21, 2020 Share Posted October 21, 2020 Site URL: https://lakerenfaire.com/virtual-faire/ Ciao ragazzi! I am trying to change the background and button color of page within an index. This should be very simple css, but I am not getting seeing the change. Here is my code: <style> .collection-type-index #education-links {background: #309ed9 !important;} #block-3a71d41191937304e6bb .sqs-block-button .sqs-block-button-element--large {background: #495fab !important;} </style> Any help is appreciated. Link to comment
tuanphan Posted October 21, 2020 Share Posted October 21, 2020 Add to Page Settings > Advanced > Header <style> div#content>div { background: red; } </style> 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!) Link to comment
MoltoBello Posted October 21, 2020 Author Share Posted October 21, 2020 12 hours ago, tuanphan said: Add to Page Settings > Advanced > Header <style> div#content>div { background: red; } </style> I cannot seem to get this to work. Link to comment
MoltoBello Posted October 22, 2020 Author Share Posted October 22, 2020 Was able to get this to work after search the site more in depth for coding that I previously applied to another section. I should note that this code did not work when placed on the page in Advanced>Code Injection and only worked when put in Design>CustomCSS. Here is the code that worked for the background color and the various text contained in that section: //changes the color of the section background #content #education-links-section { background-color: rgba(48, 157, 216,1) !important; color: white; } #content #education-links-section h1{ color: white !important; } #content #education-links-section h2{ color: white !important; } #content #education-links-section a{ color: white !important; } Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.