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
-
Rich Snippets appear differently for Wikipedia, Why?
Hi All, I've been doing a bit of research for a customer and whilst I was looking through the google results pages I came across this interesting rich snippet for a Wikipedia page (see screen shot attached). Its returned some extra information i.e Owner, Water Source, Number of Stills and Capacity. Is this just Google playing around or is this something I've missed and you can markup additional information for your rich snippet? Thanks in advance Jon 4TmGvJh.png
On-Page Optimization | | Jon-S0 -
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 -
Internal Linking - in content vs navigation menu
Would like to get some thoughts on whether navigation menus or in-content links are best for internal linking, from an SEO standpoint. A few thoughts to get started with: For sites with a lot of content, you can have a navigation menu linking to your higher-level pages, then in-content links to deeper pages on your site. For smaller sites, this is not an option, as the navigation menu will probably link to all your important pages. You could add in-content links, but Google only counts the first link on the page, so the in-content links would be ignored if you'd already linked yp the page in your top nav menu. I can think of several possible reasons navigation menu links could be less desirable than in content links from a Google perspective. (They are sitewide boilerplate content without context.) If you setup your navigation structure based on what is best for the user, small sites don't have much wiggle room to optimize internal link structure, as all their money pages will be linked to from the top nav menu. Do you think Google prefers in content links to navigation menu links? If so, how do you get around the fact that for many sites, all their money pages are being linked to from their main navigation menu?
On-Page Optimization | | AdamThompson0 -
Should I use bold for the first few sentences of a text?
I would like to know if anyone knew if the relevance of a page changes if I bold the first few sentences. Our journalist wants to bold the first few sentences in every article to make it easier to read, how does that affect SEO?
On-Page Optimization | | mtueckcr0 -
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 -
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