Jump to content

Change hover text of links on main navigation

Recommended Posts

Hi! I'm trying to change the text of my links when you hover over them; for example:

Link reads "hohm" and when the cursor moves over it, it changes to "home"

Link reads "uh-bout" and when the cursor moves over it, it changes to "about"

I've seen custom CSS for changing link color but not actual text.

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

On 10/12/2021 at 5:40 AM, Wynter711 said:

Hi! I'm trying to change the text of my links when you hover over them; for example:

Link reads "hohm" and when the cursor moves over it, it changes to "home"

Link reads "uh-bout" and when the cursor moves over it, it changes to "about"

I've seen custom CSS for changing link color but not actual text.

Can you share your site with protected password to check the issue?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 10/13/2021 at 7:43 PM, Wynter711 said:

This is a portfolio project I'm working on for a University class - since other students and our professor need to access it I'm not allowed to password protect it. The links I'm trying to modify are in the header.

https://www.wyntercannatelli.com/

Try adding this to Design > Custom CSS for first item

div.header-nav-item:nth-child(1) a {
    position: relative;
}
div.header-nav-item:nth-child(1) a:before {
    content: "home";
     font-size: calc((1.2 - 1) * 1.2vw + 1rem);
    position: absolute;
    opacity: 0;
}
div.header-nav-item:nth-child(1) a:hover:before {
    opacity:1 !important;
    visibility: visible;
}
div.header-nav-item:nth-child(1) a:hover {
    visibility:hidden;
}

 

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.