Blog Title Font

  • Author
    Posts
  • #142872

    Is there a way to edit the font, font color, and background color of the blog titles?

    The blog I need help with is rdavislawoffice.com.

    #144309

    mkrdip
    Theme Author

    Hi there,

    Did you mean post title?

    For post tiles the CSS codes are:

    #single-header h1, .blog #content article h1.entry-title, .blog #content article h1.entry-title a, .archive #content article h1.entry-title, .archive #content article h1.entry-title a, .search #content article h1.entry-title, .search #content article h1.entry-title a {
        font-size: 28px !important;
        color: #FF0000;
        font-family: "Times New Roman", Times, serif;
    }

    These codes will change the font, color, and size of posts like this in both index pages and single post: https://rdavislawoffice.com/2019/05/13/parkland-florida-shooter-could-inherit-over-400000-public-defenders-ask-to-withdraw/

    Cheers

    #144317

    Thanks, that helped! I added a background to the titles using the css you gave me:
    }
    #single-header h1, .blog #content article h1.entry-title, .blog #content article h1.entry-title a, .archive #content article h1.entry-title, .archive #content article h1.entry-title a, .search #content article h1.entry-title, .search #content article h1.entry-title a {
    font-size: 28px !important;
    color: #ffff;
    font-family: “Source Sans Pro”; background-color: #5B7C8E
    }

    Is there a way I can make the background color a little transparent?

    #144472

    mkrdip
    Theme Author

    Hi there,

    Instead of Hex color codes, I would use RGB. Like the following:

    background-color: rgba(91, 140, 142, 0.7);

    I used this tool to convert your HEX to RGA. The 0.7 is the opacity in a scale of 0 to 1.

    Cheers.

The topic ‘Blog Title Font’ is closed to new replies.