Site logo

Archived topic

Own Logo next to the site title

7 replies · Started by Robert Meier on October 13, 2015

Viewing posts 1–8 of 8

Hello!

I'm new in wordpress and I use the Theme Generatepress with all Add-ons.

I want to have my Logo next to my title+suptitle.
Here is a example: http://fs5.directupload.net/images/151013/mea22rzj.jpg

Can you gave me a step by step solution.

Like my example:
1. Add under the Site Identity the "Title of the website" and the "Suptitle"
2. Download the blank child-theme from https://generatepress.com/knowledgebase/adding-css/
3. Add in the functions.php -> "..."
4. Add in the style.css -> "..."
5. ...

Thanks a lot!

Hi there,

Give this CSS a try:

.site-branding {
      display: inline-block;
}

.site-logo {
      float: left;
      margin-right: 20px;
}

Let me know :)

Hey Tom,

it doesn't work.

My functions.php is empty and with the CSS code the Logo is under the title+Subtitle.

Do you have another hint for me?

Can you link me to your site possibly?

Hi Robert. Two things:

1. You can remove the @import line in your child theme style.css file. The theme recognizes the child theme and automatically loads both the default and child theme stylesheets.

2. The first comment in your child theme style.css file is missing the closing delimiter. Add that and it should work:

/* Tweak for logo in header   <--- */ missing
.site-branding {
      display: inline-block;
}

.site-logo {
      float: left;
      margin-right: 20px;
}

/* Theme Anpassung enden hier */

Thanks a lot. That was the problem.

You're welcome. Glad to help :)

This archived topic is closed to new replies.