WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] Change post's title font (9 posts)

  1. Gabri99
    Member
    Posted 6 months ago #

    Hi! Me again...
    I've already changed the under circle font. But now I want to change the post's title font, how do I do it?
    Thank you.

  2. Andrew
    Forum Moderator
    Posted 6 months ago #

    Can you link to a page that has the post's title, for context?

  3. Gabri99
    Member
    Posted 6 months ago #

  4. Andrew
    Forum Moderator
    Posted 6 months ago #

    Add this:

    .entry-title, .entry-title a {
     /* Font stuff goes here */
    }
  5. Gabri99
    Member
    Posted 6 months ago #

    What do you mean with font stuff (the font that I want is Nunito)

  6. Andrew
    Forum Moderator
    Posted 6 months ago #

    You know that font stuff you added before:

    font-family: 'Nunito';

    ?
    That goes in there:

    .entry-title, .entry-title a {
     font-family: 'Nunito';
    }
  7. Gabri99
    Member
    Posted 6 months ago #

    Didn't work.

  8. Andrew
    Forum Moderator
    Posted 6 months ago #

    You need to be extra careful when adding code to your style.css file, at the moment you have this:

    #post-124 {
    	width: 130px;
    	height: 130px;
    
    #post-124,
    #post-139 {
     margin-top: 35px;
    }

    It needs to be this:

    #post-124 {
    	width: 130px;
    	height: 130px;
    }
    #post-124,
    #post-139 {
     margin-top: 35px;
    }

    You need to make sure the syntax is proper, otherwise all CSS that comes after the syntax error will break.
    http://www.w3schools.com/css/css_syntax.asp

  9. Gabri99
    Member
    Posted 6 months ago #

    Now it did work! I'm getting an expert! Thank you again and again.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.