Support » Themes and Templates » [Theme: Twenty Fifteen] How to change the space for site title

  • Resolved Tulimafat

    (@tulimafat)


    My sites name is in 3 words. When using the theme Twenty Fifteen, the space for the site title, makes the first 2 words on a line, and the last word on another line, like this:
    First Second
    Third

    What I want is for each word to have its own line, like this:
    First
    Second
    Third

    I have installed a child theme, and tried to change the width of the sidebar and whatnot, but it’s now working as intended (as it screws up other things in my sidebar).

    Any suggestions as how to solve this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Tulimafat,

    can you please provide a link to your website?

    Thanks for providing the link.

    What you could do is either reduce the padding in the header a bit with a line of CSS:

    .site-header { padding: 0 15%; }

    Or you could reduce the font size of the site title:

    .site-title { font-size: 2.2rem; }

    In order to add custom CSS code to your website, you could make use of plugins like Simple Custom CSS.

    Thanks. It works.

    I tried adjusting the numbers, and found out it looks better if the three words are on the same line (reducing the font size). Also know I know how to fix, so if I change my mind.

    While I’m at it, is there a line for centering the logo in the sidebar? It looks weird that it’s all the way to the left.

    While I’m at it, is there a line for centering the logo in the sidebar?

    .site-branding { text-align: center; }

    You’re welcome and have a great weekend.

    It works. Thank you very much. You too.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Theme: Twenty Fifteen] How to change the space for site title’ is closed to new replies.