[Resolved] Blog, Archives and Latest posts – Title center alignment and font color

Home Forums Support Blog, Archives and Latest posts – Title center alignment and font color

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1322123
    Erik

    Hi,
    I would like to change Post Titles alignment to Center for BLOG, ARCHIVES and LATEST POSTS. I can’t find that settings in Customizer.
    Another thing regarding these titles – how can I change the font color of titles and post categories for BLOG, ARCHIVES and LATEST POSTS?
    I don’t want to change link color in general, only for these elements.
    (For example – When I open BLOG page I want to see all posts titles in black font, even though they are links – and blue in default).

    I hope you can help we with these
    thank you

    #1322357
    David
    Staff
    Customer Support

    Hi there,

    this CSS to center the titles:

    .entry-title,
    .wp-block-latest-posts li {
        text-align: center;
    }

    You can change the color of the Archive Content Title in Customizer > Colors > Content.

    #1322506
    Erik

    Perfect! It worked for BLOG and ARCHIVES.

    How can I achieve the same with LATEST POSTS?

    #1322729
    Leo
    Staff
    Customer Support

    What do you mean by Latest posts?

    Any chance you can link us to the site in question?

    You can edit the original topic and use the private URL field.

    Let me know 🙂

    #1323095
    Erik

    I just updated the post with my URL, please have a look.

    #1323202
    David
    Staff
    Customer Support

    I edited the code here to include them

    #1323220
    Erik

    thank you.
    Just last thing regarding the block LATEST POSTS.
    How to change title font color?

    #1323342
    David
    Staff
    Customer Support

    The color is coming from the Customizer > Colors > Body > Link Color

    Or you can change just that with this CSS:

    /* static color */
    .wp-block-latest-posts li a {
        color: #000;
    }
    /* hover color */
    .wp-block-latest-posts li a:hover {
        color: #ccc;
    }
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.