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 -
How much text is recommended for a homepage?
I'm working with a client who is redesigning their site and the new design is very image heavy. Does anyone have any recommendations on the minimum amount of text the homepage should have so that it will rank (or at least not be penalized)? It's a site created by a known brand, but the site itself and URL are relatively new. Katherine
On-Page Optimization | | KatherineWatierOng0 -
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 -
Can I use the same text in my meta description as I put in my post excerpt?
Hi, I'm just trying to understand the right way to optimise my blog posts and this is likely a dumb question... but to what extent should the text in my meta description differ from the text in my post excerpts? cheers, Andrew
On-Page Optimization | | seowhiskey0 -
Navigation Links Causing Too Many Links Help?
Hello, I have read some SEOMOZ search results for this, but am still concerned that Google may see 4,500 Too Many Link warnings as a problem. This is caused primarily due to our header navigation, which is not intended to be keyword stuffing, but to provide all avenues for our breadth of content. site: crazymikesapps.com. Most answers seem to advise if there is no keyword stuffing at hand don't worry about it. Any help appreciated. thank you Mike
On-Page Optimization | | crazymikesapps0 -
Help Please! - Anchor Text in the Menu
Hi everyone, I am a SEOMOZ newbie and I have been learning about SEO for a while now whilst working on my site - lockcity.co.uk - I already understood the importance of anchor text but was amazed to learn how google only count the anchor text used in the first link (http://www.seomoz.org/learn-seo/anchor-text). My questions are - does this rule still apply? and if so do the menus really count as the first link? If I went on this approach, this would make my menus too long for e.g. on my 'Auto Locksmith' page, my targetted keywords are 'Auto Locksmith' but also the town keywords need to be included. I really thought I had this covered on the home page by making sure the anchor text and alt text were keyword relevant to the link, but looks like Ive been missing out on an opportunity. Our business is slightly complicated in that the 25 mile radius we cover includes 4 different regions - therefore I feel like I always have to get these keywords in as well to make sure we get traffic from our area. Thanks for any advice you can give!
On-Page Optimization | | LockCity0 -
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