Thread Starter
TOMTH
(@tomth)
Okay I have found what it’s from. There were two divs ‘Skip link’ and one h3 for assistive text. Is it okay to delete those files?
Thread Starter
TOMTH
(@tomth)
Pardon me, and thank you for the help. Would you know whether it’s harmful to delete those files though?
I have no clue what files you are referring to.
There were two divs ‘Skip link’ and one h3 for assistive text
Those are there for screen readers. They help visually impaired people navigate your site. Definitely not something I would delete.
Thread Starter
TOMTH
(@tomth)
In the HEADER.PHP file you will the following rule.
<h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3>
<?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?>
<div class="skip-link"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div>
<div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div>
<?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
Thread Starter
TOMTH
(@tomth)
@voodoo, why do they become visible when I view my site using a mobile device?
Have you modified anything with your theme? I am also using 2011 on my site, and those links do not show up on a smart phone
Thread Starter
TOMTH
(@tomth)
I have only made a few edits to the css, nothing structural.
Must be the phone you are using?
I just visited your site, and switched to the non-mobile version, I do not see those links
Thread Starter
TOMTH
(@tomth)
Hmm weird then. I am using a blackberry OS5 I think it is. Well as long as Android/iPhone work I’m not bothered. Thanks for testing and your help.
Sure, I don’t have a blackberry to check things. Possibly the blackberry browser treats the css that normally hides that menu a bit differently
Thread Starter
TOMTH
(@tomth)
Probably, a unified browser would be much easier for programming.