Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Own Logo next to the site title

Home Forums Support Own Logo next to the site title

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #144055
    Robert Meier

    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!

    #144056
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Give this CSS a try:

    .site-branding {
          display: inline-block;
    }
    
    .site-logo {
          float: left;
          margin-right: 20px;
    }

    Let me know 🙂

    #144062
    Robert Meier

    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?

    #144064
    Tom
    Lead Developer
    Lead Developer

    Can you link me to your site possibly?

    #144069
    Robert Meier

    Here is the Link:

    http://www.kinderquad-test.de

    Thanks.

    #144085
    bdbrown

    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 */
    
    #144091
    Robert Meier

    Thanks a lot. That was the problem.

    #144093
    bdbrown

    You’re welcome. Glad to help 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.