- This topic has 12 replies, 4 voices, and was last updated 3 years, 4 months ago by David.
-
AuthorPosts
-
November 29, 2020 at 2:02 am #1556012Amol Chavan
I want to add blog post meta like this as shown here in the screenshot:- https://ibb.co/ry310DS
My current one you can here: https://www.growthfunda.com/side-hustle/
Could you please help on this.
November 29, 2020 at 10:58 am #1556952LeoStaffCustomer SupportHi there,
Is that just for single posts?
November 29, 2020 at 7:56 pm #1557498Amol ChavanYes it’s for single posts not for Archives.
November 30, 2020 at 10:00 am #1558902TomLead DeveloperLead DeveloperHi there,
I would remove the current styling you have (margin, border etc..), then do this:
.single .entry-meta { display: flex; border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 5px 0; justify-content: center; } .single .entry-meta .posted-on { order: 1; } .single .entry-meta .byline { order: 2; } .single .entry-meta .comments-link { order: 3; } .single .entry-meta > * { padding: 0 10px; }
December 1, 2020 at 3:26 am #1560105Amol ChavanI have added code as you mentioned but it’s looking something different. The author’s image is so big and the Meta sections are too big. I don’t want the author’s image too. I need exactly as shown in the previous attached image. Here is the link post-implementation of this code: https://ibb.co/27FNyW7
December 1, 2020 at 9:30 am #1561268TomLead DeveloperLead DeveloperYou’ll need to remove the custom code you’ve added to add the image in the first place.
If you remove that code, the result should be very close to what you’re wanting.
December 2, 2020 at 1:36 am #1563097Amol ChavanThanks got the same result. I just need all the text inside meta to be bold and there should be some more margin between Title & Meta. That’s it. Another problem I observe is that the meta look and feel breaks on the Blog Archive page. It looks like this: Amol ChavanOctober 24, 2020. The Author name & Date are touching each other. I need some space between them too.
December 2, 2020 at 6:44 am #1563688DavidStaffCustomer SupportUpdate this CSS:
.single .entry-meta { display: flex; border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 5px 0; justify-content: center; }
to:
.single .entry-meta { display: flex; border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 5px 0; justify-content: center; margin-top: 1.5em; /* add space between title and meta */ font-weight: 700; /* Increase font weight */ }
December 3, 2020 at 2:13 am #1565269Amol ChavanThanks, it looks good and perfect on a single blog post. On the Blog archive, I observe that the meta on Blog Archives look looks like this: Amol ChavanOctober 24, 2020. The Author’s name & Date are touching each other. I need some space between them too.
December 3, 2020 at 2:22 am #1565287Amol ChavanThanks, it looks good and perfect on a single blog post. On the Blog archive, I observe that the meta on Blog Archives look looks like this: Amol ChavanOctober 24, 2020. The Author’s name & Date are touching each other. I need some space between Author name and Date: Amol ChavanOctober 24, 2020
December 3, 2020 at 5:11 am #1565501DavidStaffCustomer SupportTry this CSS:
body:not(.single) .entry-meta > * { margin-right: 10px; }
Increase the 10px to make a large space.
December 3, 2020 at 8:02 am #1566002Amol ChavanThanks, this ticket is resolved
December 3, 2020 at 9:07 am #1566110DavidStaffCustomer SupportGlad to hear that
-
AuthorPosts
- You must be logged in to reply to this topic.