WordPress.org

Forums

Neighborly
[resolved] Skip Link display (2 posts)

  1. Loulee
    Member
    Posted 1 year 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags