[Support request] Change font of heading in blog post archive

Home Forums Support [Support request] Change font of heading in blog post archive

Home Forums Support Change font of heading in blog post archive

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #538279
    Miguel

    I know the blog post archive uses H2, I would like to change the font heading just for the blog post archive without changing the H2 font in blog posts.

    Thanks,

    GeneratePress 2.0.2
    #538761
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    h2.entry-title {
        font-size: 20px;
        color: #00;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #538806
    Miguel

    Awesome that worked on category page. . . oh how about on the homepage’s blog post archive’s?

    #538865
    Leo
    Staff
    Customer Support

    That should work on blog page as well.

    Can you link me to the page in question?

    #837316
    Christine

    Hey Leo thanks for the code, exactly what I was looking for. Any suggestions on how to also make it capitalized and centered. I figured out the color code, font change and uppercase, but can’t get centering and letter space working. Cheers,

    Current code:

    h2.entry-title {
    font-size: 22px;
    text-transform: uppercase;
    font-family: raleway
    }

    Was trying this, but it didn’t work:

    h2.entry-title {
    font-size: 22px;
    color: #383838;
    font-family: raleway
    text-align: center;
    letter-spacing: 0.0625em;
    }

    #837893
    Tom
    Lead Developer
    Lead Developer

    That looks like it should work. Can you link us to your site?

    #838259
    Christine

    Hmm ok I’ll try again and see if I can get it working. Maybe I need to save and clear the cache. Usually the CSS changes happen instantly, but let me try again. I have my directory password protected as I’m rebuilding our site on a staging site. This is one of my low priority tasks, once it goes live I’ll check back in and see if you guys can help. Cheers.

    #838265
    Tom
    Lead Developer
    Lead Developer

    Sounds good, we’ll be here 🙂

    #838266
    Christine

    Thanks Tom, not sure if you’ve seen my other support ticket, but that’s the priority one. Trying to work out why the margins disappear in tablet / mobile for my posts and archives pages. Last issue before we relaunch our new site with GP, very excited! Would love any suggestions. Have tried the layout feature, but doesn’t seem to work for mobile.

    Cheers!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.