Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Text that appears when hovering over navigation tabs
-
Hi,
I have a Wordpress website and want to delete or edit the text that appears when I hover over my navigation tabs.
In my case, the text is always the same as the page title, but I don't know where to edit it separately. When I change the title of a page that is in the navigation, the text that appears changes too. So the general setting is that this text is the same as the page title.
Does somebody have an idea where to edit this?
Thanks!
-
Hi Kane,
I tried this method, and I can indeed change the titles but I can not select to not show them at all.
I tried adding a space, and in Chrome no title texts show then, but in Edge and FF, a blank space is shown when hovering over the navigation tabs.
I suppose there is only one way to not show title texts at all, being an override in the code. Unfortunately, I am not a coding expert. I chose to fill in some appropriate title texts, which also helps (a little bit) for my SEO.
-
Hi Kane,
Thanks for the answer. Probably you couldn't see the page because we are executing the transfer right now.
The problem with these links is that they are embedded in 'More info' buttons, which are designed by the WP Bakery page builder in CSS. So the link is an 'href' in the code , but not an 'a href'. In regular html, I can't reproduce these buttons and adding styling to them is of course more difficult.
However, the images are also embedded in CSS functionalities and the alt-texts are recognised by Moz, so I suppose if Moz can recognise and index these images, Google can too.
-
Hey Mat,
Answering your second question here - "I do have another question though: the links and images that are embedded in CSS (so for example links that are not 'a href') are not recognised by the Moz toolbar. I know that the toolbar only can see normal 'a href' links, but can this hurt my SEO? Or will Google recognise these internal links?"
Generally images that are stored in CSS, for example a background image on a div, will not be indexed by Google. If you're storing links inside CSS I'll assume it's a scenario like a :before pseudo element. In that case, I would default to guessing that Google does not treat these the same or as highly as a standard link, and I'd suggest you change how that content is added to the page to get it out of CSS or JS files and into the core HTML file that is being crawled.
I'm getting a bunch of 500 errors in my browser console when attempting to view the link you shared, so I can't see any content being loaded by CSS, so I'm guessing those resources are blocked to non-logged-in users on your staging server. That is also a potential reason why certain toolbars might not be able to load the content, however if you're logged in they should be able to fetch that content.
-
Answering the first question for anyone that stumbles on to this thread:
- Go to the Appearance >>> Menus page
- Select the correct menu you are looking to edit (some WordPress sites have multiple menus, or a separate mobile menu)
- Click the down arrow on the menu item you want to enter, and edit the "Title" field:
Screenshot example on imgur
If that doesn't work, then my next step would be seeing if A) you're using a custom menus plugin, eg MegaMenu, or B) you're using a theme with it's own interface. In either case I'd be looking at that theme/plugin to see if they are overriding these WordPress defaults.
-
Hi Tim,
I already found where to edit the title tag of the links, but I can not deactivate them. The only thing I can do is fill in a space and then the title tag is not shown, so I guess it has to be changed in the code.
I do have another question though: the links and images that are embedded in CSS (so for example links that are not 'a href') are not recognised by the Moz toolbar. I know that the toolbar only can see normal 'a href' links, but can this hurt my SEO? Or will Google recognise these internal links?
An example of the code with links that are not recognised by Moz toolbar on the page k488239.hosting.kinamo.be :
VERWARMING
<a class="vc_general vc_btn3 vc_btn3-size-sm vc_btn3-shape-rounded vc_btn3-style-flat vc_btn3-icon-left vc_btn3-color-mulled-wine" <strong="">href="http://k488239.hosting.kinamo.be/producten/verwarming/" title=""> Meer info</a>
Thans for checking!
-
Hi Matt, could you send over your URL so we can look into the code, I may be able to spot the location of the offending issue.
Cheers
Tim
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
H1 text and Header Image Overlap?
I have images with text at the top of every page on my site. But no H1 or H tags at all. I would like the text on the image to be my H1 text. But I don't want to be repetitive. What should I do?
On-Page Optimization | | Calligraphy0 -
Will shortening down the amount of text on my pages affect it's SEO performance?
My website has several pages with a lot of text that becomes pretty boring. I'm looking at shortening down the amount of copy on each page but then within the updated, shortened copy, integrating more target keywords naturally. Will shortening down the current copy have a negative effect on my SEO performance?
On-Page Optimization | | Liquid20150 -
Background Images and ALT text
We pretty much exclusively use background images for our sites. How do I add in alt text? I tried a Google search for this issue and the best answer I could find was "Use the 'title' tag in the containing div", but that was from 2010. Is there a better way to do it? And no, we're not going to switch to using standard images, because background images are way more slick for UX.
On-Page Optimization | | MichaelGregory0 -
Duplicate anchor text vs poor relevance in internal links
We're writing a number of blog posts, all based around a particular head-term (call it "women's widgets"). Each post will be centered around a different long-tail keyword (e.g. "women's brandA widgets", "women's brandB widgets", "women's type1 widgets", etc.). We want to link from the blog posts back to the main "women's widgets" category-level page on our site. Should we: a) Use the words "women's widgets" in each blog post and link that to the "women's widgets" page? This would be the most relevant, but it also seems like using the same anchor text on all of the posts, and linking to the main page, is not good since Google doesn't like seeing the same exact anchor text all the time, right? b) Link the long-tail keyword ("women's brandA widgets") to the main "women's widgets" page? That would solve the anchor text duplication issue, but then the anchor text doesn't seem relevant to the page being linked to (it might never mention "brandA" on that main page at all), and I think it would also hurt the blog post's chances of ranking for the long-tail keyword since we're basically saying that there's a more relevant page for that keyword somewhere else (i.e. you shouldn't link out from a page using the phrase you're trying to optimize that page for). c) Link a nearby word/phrase instead? For example, we could say "Trust Companyname.com for your women's widget needs", and link "Companyname.com" to the "women's widget" page. By proximity to the keyword phrase, that may help a bit, but again the relevancy of the anchor text to the page being linked to is fairly low. I'd hate to have a bunch of "click here", "read this" or "company name" anchor texts being used, just in the name of not overusing the head-term in the anchor text. Are we just missing something, or misunderstanding Google's preferences? What do you do when you don't want to overuse a keyword in anchor text, but you still want to link to a main category-level page using the head-term in order to tell Google that that is the most relevant, best page for that keyword? Is anchor text duplication more of a problem for external backlinks, and less of an issue for internal interlinking? Do you have a different suggestion, other than what I outlined above? Thanks for the help!
On-Page Optimization | | BandLeader
John0 -
H2s & H3s for Category Navigation
Hi all. I am wondering how best to format a category navigation menu. Currently I don't think we're using H2s correctly on our website. Am I right to think that the top level category e.g. Games should be formatted as an H2 and the sub-categories underneath this should be formatted as H3s (to show a hierarchy)? Is there a limit on how many H2s and H3s you should use? Obviously only one H1 per page. Thanks in advance Paul
On-Page Optimization | | kevinliao0 -
What should I put in the image ALT and title text for blogger?
Hello, I wanted to know what should I put in the image ALT and title text for blogger. I've read so many damn articles about ALT text and Title text for blogger; nothing explained what I put in it though. What am I supposed to put in it that will help me with my on page optimization? (Stuff like do I use spaces or dashes, do I put my keyword in there, how many characters should I not exceed, do I put one word or two words?) If I have a picture of a backpack, what should the alt text be? What if I have 10 different pictures of backpacks on 1 page? How about if I had a backpack next to a tv in an image? A specific answer or a detailed one is nice!
On-Page Optimization | | 6786486312640 -
How long should anchor text be? Best practice for anchor text length?
site: http://www.cerritosnissan.com/index.htm On the bottom of this homepage there is an seo content area, basically right under where it says "orange county nissan" welcomes you. The internal links in this area are very long and I'm wondering why they would do this - is there any benefit to making anchor text longer? The longer the anchor text, the less each part of that anchor text passes link juice. For example, for a page about their reviews, the anchor text of the link is "See what Cerritos Nissan customers have to say about their experience at this great Orange County Nissan Dealership.". If I would have done this the anchor text would be "Cerritos Nissan Reviews" or just plain "reviews" as the anchor text. Why would they be using such long keywords as anchor text?
On-Page Optimization | | qlkasdjfw
0 -
Is there an SEO penalty for text that appears only in a pop-up box when you hover the mouse over an icon?
A client of mine wants to streamline the look of his web pages, taking some of the visible body copy and putting it into boxes that pop up when you hover the mouse over an icon. My understanding is that search engines will index this pop-up text. However, do they penalize pages that have text in pop-up boxes out of concern that those pages are spammy? In this case, the text and the page are perfectly legitimate e-commerce pages. Thanks for any insights you can offer.
On-Page Optimization | | jimmartin_zoho.com0