Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Changing the Background Color of an Index Section


MoltoBello
Go to solution Solved by MoltoBello,

Question

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. 

Edited by MoltoBello
Link to post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

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 post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...