WordPress.org

Forums

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

  1. Gabri99
    Member
    Posted 1 year 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 1 year ago #

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

  3. Gabri99
    Member
    Posted 1 year ago #

  4. Andrew
    Forum moderator
    Posted 1 year ago #

    Add this:

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

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

  6. Andrew
    Forum moderator
    Posted 1 year 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 1 year ago #

    Didn't work.

  8. Andrew
    Forum moderator
    Posted 1 year 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 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.