WordPress.org

Forums

Spun
[resolved] Change post's title color and size (8 posts)

  1. Gabri99
    Member
    Posted 1 year ago #

    How do I change this these two things in all posts?
    I'd like to change to this color: #8d4a37
    Thanks!
    http://www.analiticocorporal.com

  2. foradoescritorio
    Member
    Posted 1 year ago #

    To edit the title properties of the posts, go to the style.css file, edit the .entry-title and add the color code inside the body of it.

    Example:

    .entry-title {
    color: #8d4a37;
    float: left;
    font-family: arial,sans-serif;
    font-size: 29px;
    line-height: 1.1em;
    }

  3. Gabri99
    Member
    Posted 1 year ago #

    I'm using a child theme. Didn0t work adding the code.

  4. foradoescritorio
    Member
    Posted 1 year ago #

    I don't know how to change it on a child theme, sorry.

  5. Andrew
    Forum moderator
    Posted 1 year ago #

    Change post's title color and size

    The titles on the Home page? Or some other page?

  6. Gabri99
    Member
    Posted 1 year ago #

    No, once you have opened the post, that title.

  7. Andrew
    Forum moderator
    Posted 1 year ago #

    So this doesn't work:

    .entry-title,
    .entry-title a {
     color: red;
     font-size: 20px;
    }

    ?

  8. Gabri99
    Member
    Posted 1 year ago #

    Worked, just replaced the word #8d4a37 instead of red. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.