Jump to content

Change colour, logo and header nav title

Recommended Posts

Site URL: https://www.parviz.ca

I would like to achieve the site header as seen on LouisVuitton.com website. The navigation links, logo and buttons are the colour white by default, and upon hovering over, the colour changes from white to black, with the site header background changing to white. I've attached a photo of how my current header looks like: site header logo and navigation links and button are white by default, and upon scrolling, the site header background changes to black. The end result I would like to achieve is identical to the site header as seen on  LouisVuitton.com

 

Thanks

Screenshot 2023-02-14 at 7.19.09 PM.png

Screenshot 2023-02-14 at 7.19.20 PM.png

Screenshot 2023-02-14 at 7.19.31 PM.png

Screenshot 2023-02-14 at 7.19.38 PM.png

Edited by Shayan1
Link to comment
  • Replies 3
  • Views 255
  • Created
  • Last Reply

Top Posters In This Topic

13 hours ago, tuanphan said:

Add to Design > Custom CSS

header#header:hover {
    background-color: black !important;
}

 

When background-color becomes black, how can we change the header font-color from black to white? Thank you

 

We are trying to imitate the Louis Vuitton (https://louisvuitton.com/eng-ca/homepage) website design. 

 

Before hovering / scrolling-up:

- Header is transparent

- Logo, navigation-title are colored white

 

Upon hovering / scrolling-up:

- Header background-colour is white

- Logo, navigation-title are coloured black

Edited by Shayan1
adding more context
Link to comment

Remove above & add this new code

header#header:hover {
    background-color: white !important;
}
header#header:hover a {
    color: black;
    border-color: black;
}
header#header:hover img {
    filter: invert(1);
    -webkit-filter: invert(1);
}

 

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

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.