• Resolved jrodebush

    (@jrodebush)


    I am using the Swell-lite theme and would like to hide my site title, without deleting it (for SEO purposes). Can anyone help me with this?

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • In your Child Theme or CSS Editor Plugin try this code:

    #masthead {
        display: none;
    }

    *Note
    If your theme has a custom CSS Editor in it, you can also paste the code in there.

    Never edit core CSS or PHP files, they’ll be deleted when the theme is updated.

    Thread Starter jrodebush

    (@jrodebush)

    Awesome! It worked! Thank you!

    Awesome, please mark as resolved.

    Thanks

    Thread Starter jrodebush

    (@jrodebush)

    yep thanks!

    kathleenruth

    (@kathleenruth)

    Brilliant! That worked… thank you! ??

    paulwpxp

    (@paulwp)

    For accessibility, use this CSS to hide thing visually but keep it for screen reader. To use, just replace or add in the selector (class, id) of element intended to hide.

    /*
     * Hide only visually, but have it available for screen readers:
     * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
     */
    
    .visuallyhidden {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    This helped me too, thanks all.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hide site title’ is closed to new replies.