• ThianBrodie

    (@thianbrodie)


    Hi all,

    How can I have my Site Title and a Logo? It seams to be one or the other.

    Kind regards

    Thian

Viewing 3 replies - 1 through 3 (of 3 total)
  • Jarret

    (@jarretc)

    You could set your site title as the tagline which would allow for both a logo and text to the right of it to be displayed. Otherwise, you would have to modify the theme files in order to have both a logo (picture) and the site title (text) displayed next to each other.

    Thread Starter ThianBrodie

    (@thianbrodie)

    Hi Jarret

    Thank you for your reply, I did contemplate that but want the tagline as well, looks like it is going to have to be good old fashioned coding of the logo.

    Thian

    Hi

    You might want to consider working with the class .screen-reader-text.

    There’s is line that says :
    <span class=”screen-reader-text”>La tête sur les épaules</span>

    Maybe changing some of its properties, might allow you to use the text with the logo.

    .screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    word-break: normal;
    }

    probably you will have to change (among other things) the clip values (1px) as well as the width and height.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘site title and a logo in header’ is closed to new replies.