Jump to content

Highlight a pagelink in the navigation bar of my site

Recommended Posts

Posted

Site URL: https://www.echargeinstalls.com

Hello, 

I can't seem to figure out the CSS in how to change the looks of one link in the navigation bar "boek een afspraak" in the Dutch version and "démarrer mon projet" in the French version. 

I would like to turn it into a button-like style to attract more attention. Also I would like for the other page links to be animated when hovering over them. 

Thanks in advance for the help! 😄

  • Replies 1
  • Views 289
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted
On 3/27/2022 at 6:28 PM, Arenshi said:

Site URL: https://www.echargeinstalls.com

Hello, 

I can't seem to figure out the CSS in how to change the looks of one link in the navigation bar "boek een afspraak" in the Dutch version and "démarrer mon projet" in the French version. 

I would like to turn it into a button-like style to attract more attention. Also I would like for the other page links to be animated when hovering over them. 

Thanks in advance for the help! 😄

Add to Design > Custom CSS

/* header buttons */
header#header [href="/nl/boek-een-afspraak"], header#header [href="/fr/demarrer-mon-projet"] {
    background-color: white;
    color: black;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
}

 

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.