Thursday, December 5, 2013

How to remove skip to content in wordpress

After making wordpress site with coller theme, I found something strange in main menu bar.


When I put my mouse on the above broken menu, it hovers some letter "skip to content".
I found that it is a matter of something from header.php.

So you have to get rid of it.

Location: wordpress main folder>wp-content>themes>coller
Find header.php. open it and search skip to content with alt+F key.
I copy the original as header.php.original.

Or you can also do it simply in editor in appearance of wordpress dashboard, too.
 
when you see it you can see a link, <a href="content.....> <?php_e('skip to content','coller');?> </a>

Just remove the code rendering <?php_e('skip to content','coller');?> between <a href=....></a> as follows:
 

Now, refresh your wordpress website.
 

No more broken menu by skip to content.
There are also other method by adjusting css but I think it is better.

Thank you.

No comments:

Post a Comment