- This topic has 10 replies, 2 voices, and was last updated 3 years, 11 months ago by Leo.
-
AuthorPosts
-
May 8, 2020 at 11:34 pm #1276267Janani
Hi
Please let me know how I can customize my archive page:
1. I would like to achieve a format like this:
Date Topic of postBut what I see is:
URL of post
Date (small)How do I change this?
2. I see an empty space at the top, after which the content starts.
I have reduced my padding at the top and bottom, but I still see the empty space. Should I reduce my container width and seperator also? but will it not affect my site globally? Please advise.May 9, 2020 at 9:04 am #1276920LeoStaffCustomer SupportHi there,
1.
But what I see is:
URL of post
Date (small)Didn’t we already figure the URL of the post question in other post?
So basically you want the date to show on the left of the post title? Not sure how it would look good.
2. That’s the separating space option. You have it set at 100px which is really big:
https://www.screencast.com/t/YofkTF1c0jHLooking at your layout, I believe one container option would work better:
https://docs.generatepress.com/article/content-layout/May 10, 2020 at 4:28 am #1277616JananiDear Leo
Thanks.
1. On Q1, I would like to achieve a format like this:
Blog – Archives
Date of post Title of post
Please advise.
2. On Q2, I selected one container option and it worked perfectly.
Although the problem is solved, I just have a clarification – why didn’t changing to one container option and reducing the seperating size affect the site globally? Maybe it was because I was using sections on other pages?Warm regards
May 10, 2020 at 4:31 am #1277617JananiMaybe, a format like this but with few alterations: https://zenhabits.net/archives/
The title will be ‘Blog – Archives’.
May 10,2020 Title of post
Hope this explains.
May 10, 2020 at 9:31 am #1278063LeoStaffCustomer Support1. Just to confirm, you are referring to the main posts page when you are referring to Archive right?
If so then you will need to create a header element for the Blog – Archives title:
https://docs.generatepress.com/article/header-element-overview/
https://docs.generatepress.com/article/how-to-create-a-page-hero/
https://docs.generatepress.com/article/page-hero-examples/Then add this CSS to move the date inline with the title:
.blog .entry-header, .archive .entry-header { display: flex; flex-direction: row-reverse; }
2. Yes Sections are handled differently.
May 11, 2020 at 6:57 pm #1280087JananiDear Leo
Thanks. This has helped a lot. Just a couple of things more:
1. How do I increase the gap between the date and the title?
2. The title is now in the size of H1. How do I reduce this to the normal body text?Warm regards
May 11, 2020 at 7:52 pm #1280117LeoStaffCustomer Support1. Try this:
.entry-meta { margin-right: 20px; }
2. Try Typography > Headings > Heading 2
May 12, 2020 at 6:06 pm #1281774JananiThanks Leo,
I got the spacing between the date and the topic.
But when I change H2, it affects my site globally.
Is there no way I can just change the typography in the Blog page to h3 or body text?May 12, 2020 at 6:45 pm #1281797LeoStaffCustomer SupportTry this option instead:
https://www.screencast.com/t/g1Rr70jTOMay 13, 2020 at 7:01 pm #1283466JananiDear Leo
Thank you very much. This is done.
I have one last query. How do I make the link to the post open in a new page? Please let me know I need to open a new ticket for this.Warm regards
May 13, 2020 at 7:48 pm #1283497LeoStaffCustomer SupportA new topic would be the best.
Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.