• Hi,

    is it possible to put logo in the same line as site title/site descritpion? So that the logo would be placed on the left, and site title right from it (site description below site title, but still in line with logo)?

    Thanks for help,

    Alina

Viewing 4 replies - 1 through 4 (of 4 total)
  • AddWeb Solution

    (@addweb-solution-pvt-ltd)

    Hi alina1983m ,

    Replace below css into your style.css file located at site-name/wp-content/themes/motif/ folder.


    .display-header-text .site-image {
    margin-bottom: 12px;
    display: inline-block;
    }
    .site-title {
    font-size: 34px;
    font-size: 2.6153rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0;
    margin-left: 5px;
    display: inline-block;
    }
    .site-description {
    color: #333;
    line-height: 1;
    margin: 10px 0 0 15px;
    display: inline-block;
    }

    Hope this will helps you.

    Moderator Kathryn Presner

    (@zoonini)

    Thanks for helping out with that custom CSS.

    Replace below css into your style.css file

    Alina – please don’t edit the theme files directly, otherwise your changes will be overwritten every time the theme is updated.

    An easy way to add custom CSS is to install the Jetpack plugin and activate the Custom CSS module. You’ll then add your custom CSS in the new stylesheet editor that’ll appear in your dashboard, under Appearance > Edit CSS. You could also install a standalone custom CSS plugin if you prefer.

    If you need further help, please provide a link to your site if it’s public, as it’s always easier to help you if we can see your site directly. Thanks!

    Thread Starter alina1983m

    (@alina1983m)

    Hi,

    thanks for your reply, unfortunately the “site title” just pushes “site description” to the right (if there is no “site-title”, description is positioned on the left). Logo stays abowe the text.

    Alina

    Moderator Kathryn Presner

    (@zoonini)

    You could give something like this a try. I’ve added a media query so the smallest view is unaffected.

    @media screen and (max-width: 362px) {
      .site-logo-link {
           display: inline-block;
           margin-bottom: -30px;
      }
      .site-title {
           display: inline-block;
      }
      .site-description {
           margin-left: 105px;
      }
    }

    You can adjust the margin values as you like.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Logo and site title/site description in the same line’ is closed to new replies.