Jump to content

Changing font color in header on homepage only.

Recommended Posts

Site URL: https://adrianludek.com/

Hi guys,

I'm having some issues trying to change the font color inside the header on home page only. 

I have a custom css in design section that makes it transparent, here's the code, but I wonder if you know how to change the color?

 

Quote

/* homepage header transparent */
.homepage header#header {
    background: transparent;
}

Thanks in advance!

Edited by superadej
Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I have managed to test some options out and found a working solution:

 

/*Change homepage nav-item color*/
.homepage
.header-nav-item a {
    color: white !important;
}
.homepage
.header-nav-item:hover a {
    color: white !important;
}
/* folder */
.homepage
.header-nav-folder-item:hover a {
    color: white !important;
}

Link to comment

Homepage Navigation use First Section Color. You can set in first section. You can also combine above code to shorter

/*Change homepage nav-item color*/
.homepage {
.header-nav-item a, .header-nav-folder-item:hover a {
    color: white !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.