Little help with some code.
-
Hi guys,
Got a little problem with my menu bar’s layout.
Im running the Monaco theme on WP 4.1
website is at http://www.onestudios.nlI was working in the footer.php file and suddenly noticed that my menu bar isnt alligned properly, at least not the home button.
Any suggestions?
-
You have some rogue code in that menu item. Have you specified that as a link in your menu, or as a page?
The code that is in there is this:
<div style="visibility: hidden">video laten maken </div>Try removing the home menu item, saving the menu, and then readding that menu item
you appear to have this in the same link code as the home text in your menu:
<div style="visibility: hidden">video laten maken </div>maybe check your header.php file and see if this is something hardcoded in there. whatever the reason something is making the home item 167×48 when the others are 100×24.
Thanks! off course! added that yesterday for SEO matters, dont know if it helps anything but hey!
Thanks! it was added as a page! readding didnt solve the problem, but I added it to the menu as a link and that corrected the problem.
Thank you for your quick response good sir.
no worries. for SEO though you might want to use a plugin like SEO by Yoast, it’s immensely powerful 😀
Yeah, currently using that. and by adding that line of code to the title got me another thingy in the green, so I did! Having a hard time understanding how it works but Ill make it work.
You know Google reveals techniques for search engine optimisation? It doesn’t say to hide text off the screen: https://support.google.com/webmasters/answer/66353?hl=en
Oh woops, thanks for the heads up on that.
The topic ‘Little help with some code.’ is closed to new replies.