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 -
Does hover over content index well
i notice increasing cases of portfolio style boxes on site designs (especially wordpress templates) where you have an image and text appears after hover over (sorry for my basic terminology). does this text which appears after hover over have much search engine value or as it doesnt immediately appear on pageload does it carry slightly less weight like tabbed content? any advice appreciated thanks neil
On-Page Optimization | | neilhenderson0 -
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 -
Alt text / internal linking
Hi everyone A question about best practice when linking from pictures on our homepage - hirespace.com We have an option of using divs with background images (nicer in terms of design) but it means that we can't use anchor text or alt text to show Google what these internal links are about. The other option is to use images which do not allow us as much flexibility in terms of CSS but would allow us to use alt text. There is also an opinion that we should have separate text links at the bottom of the homepage to get the anchor page in. What is best practice in this situation - is alt text worth sacrificing some CSS flexibility for? How important is anchor/alt text for internal linking? Thanks guys.
On-Page Optimization | | HireSpace0 -
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 -
Do you think using accordion text can hurt SEO?
I have a lot of text for my home page. My plan is to a J Query Plugin for accordion text. Does anyone think that this can hurt SEO efforts?
On-Page Optimization | | DTOSI1 -
Does it matter what text you wrap in an H1 tag?
Typically H1 tags are reserved for page headings, i.e. on a blog post the blog post title is very often the pages H1, or top-level heading as the W3C puts it. On the SEOmoz home page they currently have "SEO Software." as their H1 tag, which seems perfectly reasonable and to me fits the W3C criteria. However, what if the primary keyword for SEOmoz was "seo community" so they decided to wrap just those two words in the sentence that follows on their home page and maintain the existing style of the words "seo community" with CSS. (see attachment) Are there any arguments against doing that? Would Google be able to detect this? If so, would Google care? I do believe the overall importance of the H1 tag has lessened to a degree, however I still believe they are valuable to an extent and would love to hear anyone's thoughts. 7NZcD.png
On-Page Optimization | | TakeLessons1 -
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