Site logo

Archived topic

Title text alignment issues

8 replies · Started by Kumar on September 17, 2020

Viewing posts 1–9 of 9

Hi there,

I have 2 questions.

1. In the attached image on the home page: https://www.parenthood.guide/

you can see that the title text is aligned left for the 'Latest blog posts' module. How can I align this text to center?
https://snipboard.io/sowA7F.jpg

2. This is also the case in the archive pages. (example: https://www.parenthood.guide/non-toxic-nursery/) In the customizer, there is option to change the alignment and padding for the featured image in the grid, but no option to change the alignment and padding for the title text in the grid. I'd like to remove the extra padding in the title text below and also align the text to center (instead of left).
https://snipboard.io/urvlEn.jpg

Thanks in advance,
Kumar

Thanks Leo.

sorry, just again on the 1st one - the CSS solved it for my homepage.
.wp-block-latest-posts {
text-align: center;
}

How do I replicate the same for my archive pages?
(Text title align center)

Use this CSS instead:

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

Make sure to clear your caches.

this works, perfectly. Thanks David.

Glad we could be of help

This archived topic is closed to new replies.