Jump to content

Dynamic Header Needed

Recommended Posts

Posted

Site URL: https://globaldirectpartners.com/

I need my menu and header graphic logo to change on certain pages where the graphic under them moves from light to dark. 
 

the light logo and white menu looks great when on a dark surface. But when the underlying graphic is a light colored image it disappears. 
 

how can I get the menu colors and the logo version to change by page color? What code is needed?

 

Thank you 

  • Replies 1
  • Views 319
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

You can add this code to Page Header (page where you have problem)

<style>
  header#header img {
  	content: url(https://cdn.pixabay.com/photo/2022/06/07/03/25/rice-fields-7247360__340.jpg);
  }
      div.header-nav-item a {
    	color: black !important;
    }
</style>

Replace with new logo image url.

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!)

Create an account or sign in to comment

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


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.