WordPress.org

Forums

[resolved] How to center and change site title font in Twenty Thirteen (5 posts)

  1. gfes
    Member
    Posted 1 year ago #

    I created a twenty thirteen child theme and I’m trying to change the font of the site title and aligning it in the center. I installed a plugin call Easy Google Fonts, but when I try changing the site title font, it changes the entry titles as well. From what I understand, both the site title and entry titles fall under h1. Is there a work around to this? I tried :

    .site title {
    	font-family: “Homemade Apple”;
    	font-size:	44px;
    }

    but there was no change. Tried a couple more that I found on web, to no avail. Please help. Thanks!

  2. WPShowCase
    Inactive
    Posted 1 year ago #

    Try changing .site title to .site-title in your CSS to see changes :-).

  3. gfes
    Member
    Posted 1 year ago #

    Thanks! That did the trick. Also added:
    text-align: center;
    to center the title.

    Thanks again!

  4. bevyoung1
    Member
    Posted 1 year ago #

    Hello. how can I center the title? I'm using Twenty Thirteen.

  5. bevyoung1
    Member
    Posted 1 year ago #

    I'm in the editor under header but I don't see where the code goes.

Topic Closed

This topic has been closed to new replies.

About this Topic