Long site title would not display properly in the "sight" Theme

  • Author
    Posts
  • #1125680

    skyblueguy
    Member

    Hi

    I am currently using the theme “sight”.
    In the “sight” theme, a long site title does not display properly.
    For example:
    http://skyblueguy.files.wordpress.com/2013/01/site_tile_problem.jpg

    It seems that only one word appears per line.

    How can fix this problem?

    Thanks for your help in advance.

    The blog I need help with is mygodchristahnsahnghong.com.

    #1125794

    This font-size makes it fit better, but you may want a different size.

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

    You can add the code in the CSS editor, and customize the font-size to your liking.

    Should get you headed in the right direction. Feel free to post back if your getting stuck. :-)

    #1125799

    skyblueguy
    Member

    Really thanks for your answer.

    I tried your suggestion, but the problem (that redundant line breaks added in the site title) still continues.
    (And I found the font size would not change even if I change the font size using your code in the CSS editor. I think it’s because I already changed the font size in the “Font” section of “Custom Design”.)

    Thanks again for your help.

    #1125800

    skyblueguy
    Member

    I just shortened the site tile.

    Thanks for your help.

    #1125809

    O.k. thank you for the update.

    So, if you have custom fonts installed then it possibly overwrites the CSS? Thanks for coupling that back, did not know that.

    Ah, so you wanted to get rid of the line breaks, I understand now.
    This should get it on one line:


    #page .site-title > a {
    font-size: 31px;
    white-space: nowrap;
    }

    It works from over here, but let me know if you have a different experience.
    Site titles are ‘usually’ a certain length, yours being quite long accounts for some of the difficulty. Looks nice how you solved it.
    Should you still want to change it, the code is up there. If your getting stuck feel free to couple back.

    If your fine with the way you solved, don’t worry about it, and you don’t have to reply.

    Take care!

The topic ‘Long site title would not display properly in the "sight" Theme’ is closed to new replies.