Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter rothaar

    (@rothaar)

    I forgot to mention the link to my website. Here it is: http://rothaar.co.uk/

    Hello,

    Doing what you want would imply overwriting the header.php from a child theme and might get a bit complex.

    An easier way would be, as you’ve already tried, to upload a logo from the Customizer. By looking horrible I’m guessing you mean that it’s too big? In that case, you can either resize the image before you upload it, or you can set something like this from a custom CSS plugin:

    .site-branding {
        max-height: 150px;
    }

    Thread Starter rothaar

    (@rothaar)

    Hi Vladff

    Thank you for your reply. I have tried a test image in different sizes. It always ends up in the middle and the website title/subtitle disappears. I suppose I would have to overwrite the header. php (child theme) if I wanted the logo in a certain place?

    I don’t understand why the title disappears though. Is there no way to avoid that?

    Thank you.

    That’s how the theme works, you upload a logo image instead of the site title and description.

    If you want to avoid this, you would need to create a child theme and overwrite the header.php from there. You would need to find this:

    <div class="site-branding">
    ....
    ....
    </div>

    and replace it with this: http://pastebin.com/b2pkUdf3
    This will set 50% of the space for the title and 50% for an image (uploaded with the customizer).
    Depending on your image, this might look good or bad 🙂 Not tested.

    Thread Starter rothaar

    (@rothaar)

    Sorry for not replying earlier. I’ve been very busy.

    I’ll look into creating a child theme (can’t be that hard :D). Thank you for now. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Solon Header’ is closed to new replies.