- This topic has 10 replies, 2 voices, and was last updated 3 years, 3 months ago by
David.
-
AuthorPosts
-
December 29, 2022 at 7:30 am #2476869
Tommy
How do I change the H2 font color back to black (it’s linked and is same color as paragraph font for links)?
How do I change the font to Merriweather, which I have above the heading above, but cannot find when I look in this block.
Also, how do I center the H2 title??Thanks in advance
December 29, 2022 at 7:34 am #2476876Tommy
*I want to keep the content link as it is and only change back the H2 fonts in the latest posts blocks
December 29, 2022 at 8:27 am #2477064David
StaffCustomer SupportHi there,
try this CSS:
/* latest post title link style */ .wp-block-latest-posts li .wp-block-latest-posts__post-title { color: #000; display: block; text-align: center; font-family: Merriweather, serif; font-weight: 400; } /* latest post hover over title link color */ .wp-block-latest-posts li:hover .wp-block-latest-posts__post-title { color: #f00; } /* Adjust latest post block spacing */ .wp-block-latest-posts__list .wp-block-latest-posts__featured-image { margin-bottom: 0; }December 29, 2022 at 8:48 am #2477096Tommy
That sorted the color, thanks David. What about my 2 other queries, should I create separate tickets for them? Or can they be redesigned in the same CSS?
December 29, 2022 at 8:56 am #2477109David
StaffCustomer SupportOops didn’t see that 🙂
I edited the CSS above:And i included another CSS rule to reduce the space between image and title. Just in case
December 29, 2022 at 9:03 am #2477115Tommy
That worked a treat, thank you!
December 30, 2022 at 2:09 am #2477687David
StaffCustomer SupportYou’re welcome
January 6, 2023 at 7:01 am #2485849Tommy
Hi David,
How do I edit this CSS so I can adjust the category/tag pages to resemble to post block?
The font is much bigger and and spread from the image, and I’d like them to be the same. Thanks in advance.
January 7, 2023 at 5:13 am #2486831David
StaffCustomer SupportHi there,
1. Add this CSS to center the text and remove the space between image and title:
.generate-columns-container .post .inside-article .post-image { margin-bottom: 0; } .generate-columns-container .post .inside-article { text-align: center; }2. in Customizer > Typography – you can Add new typography and select the Archive Content Title H2 to set the font size / styles.
January 7, 2023 at 5:45 am #2486852Tommy
Brilliant, thank you!
January 7, 2023 at 6:34 am #2486895David
StaffCustomer SupportYou’re welcome
-
AuthorPosts
- You must be logged in to reply to this topic.