WordPress.org

Forums

Neighborly
[resolved] Skip Link display (2 posts)

  1. Loulee
    Member
    Posted 11 months ago #

    Can someone please tell me how to turn the display off for the 'Skip to Content Link'. Thank you

  2. Arnold Goodway
    Member
    Theme Author

    Posted 11 months ago #

    On line 26 in the file header.php add class="screen-reader-text" to the link that adds the skip link.

    When you are done the line should read:

    <p><a class="screen-reader-text" href="#content" title=""><?php _e( 'Skip to Content', 'neighborly' ); ?></a></p>

    Doing things this way will keep the skip link there but it will only be visible when it receives focus.

Reply

You must log in to post.

About this Theme

About this Topic

Tags