Site logo

Archived topic

Author name, published date and comments

9 replies · Started by June on September 18, 2021

Viewing posts 1–10 of 10

Hi,

I want to show author name, published date and comments in my post just like here.

Please guide.

Hi there,

Since you are already using dynamic content in your page hero, you should be able to add the date/comments to the existing block - page hero.

Here's a tutorial video:
https://youtu.be/Ni3KXdZ5Dl8

Thank you so much Ying!
I got it working the way I wanted it. Thanks to you!
I just want to make date and author name as uppercase.
Please guide.

It was super easy, my bad!
Thanks once again, Ying.

No problem :)

Glad to be helpful!

Here's one problem I found. On mobile the width is disturbed and not inline. Even though I checked inline width but still not working.
Please assist.

Hi there,

Can you tell us the device used to check the page?

You have this CSS applied to the post meta on the hero section:

@media (max-width: 767px) {
  .gb-container-6a6b1a60.inline-post-meta-area > .gb-inside-container {
    flex-wrap: wrap;
  }
}

Flex wrap makes the post meta items go to the next line when there's not enough horizontal space to place all 3 columns in one row.

If you're viewing the page on mobile devices with very small viewports, that's what's happening.

Note: You can remove the flex wrap but this will happen instead - https://share.getcloudapp.com/jku400b5

If I may suggest:

Consider stacking them vertically and align them centered on smaller viewports so they at least look visually balanced. :D

Thanks Elvin.
Actually I already put the flex wrap code which did the trick.

Glad you got it sorted. :)

This archived topic is closed to new replies.