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
-
Keyword appearing on almost every slug of product pages = over-optimizatio
Hello all, I have an online store, let's say for example I sell forks of all kinds and colors. So naturally, I have 'product category' pages with titles and slugs like: Big forks
On-Page Optimization | | Veptune
Small forks
Plastic forks
Red fork
etc.. And plenty of product pages with slugs and H1 like: Small red fork
Large plastic fork
18th-century fork
etc... Some category pages are well-ranked, others are not, the same goes for product pages. The problem is that for the main keyword, 'fork' (exact query in the search console), my site is completely absent. Google should logically have referenced my homepage (which has links to all categories) for this main keyword. I have also optimized the page for it, without overdoing it. I wonder if it's not because I have a lot of pages with 'fork' in the slug, and perhaps Google thinks it's too much (even though it's logical for this word to be present in all product pages because it's an essential word to describe the product). I wonder if I should not modify half of my product pages to remove the word 'fork' from the slug...(only from the slug, without touching the H1 because removing the word 'fork' would remove its meaning). Do you have any experiences with this kind of issue? I wouldn't ask the question if my homepage was behind the competition, but it's completely absent. Thanks0 -
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 -
Does Bolding Text Have Any Impact on SEO?
Someone told me it does but I thought that was old school way of thinking. Any thoughts?
On-Page Optimization | | tryfantasy1 -
Removing navigation menu items/links on homepage
We are redesigning our website after a long stint with an SEO firm who also handled our design/dev. We want to clean up the links on our homepage but don't want to screw up our IA or SEO. We want to delete some navbar menu items and a whole bunch on random links to our evergreen content below the fold. Would we need to reposition those navbar items/content links to our footer or somewhere else on the homepage to maintain our internal linking structure? It would be great if you could take a look at our site and give us any suggestions or advice on the best way to go about this. Thanks!
On-Page Optimization | | Lorne_Marr1 -
My main domain is missing in google, subdomain appears instead.
I have two SEO optimised pages in my website targeting different keywords www.example.com <-- main selling page (Pocket Guitar | Guitar Instruments)
On-Page Optimization | | kevinbp
www.example.com/index/ <-- 2nd selling page (Guitar Australia | Guitar Perth) Q: At first my website "www.example.com" is ranking on google first page. Suddenly it disappears and the link "www.example.com/index/" appears instead. No matter what i search, "Pocket Guitar | Guitar Instruments | Guitar Australia | Guitar Perth", the link www.example.com/index/ appears on the front page instead of www.example.com. What is happening to my main domain? Should i be worried?0 -
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 -
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