Archived topic
Placing elements side by side in Single Blog Post Page Hero
2 replies · Started by John on May 13, 2021
Hi there,
I am trying to recreate version of an author box for the post headers on this site:
https://drtanyahudson.health/why-i-love-magnesium/
Ideally I want to have the author pic plus the "Health Talks by Dr. Tanya Hudson" side by side.
So three in a line.
Similar to example 2 here: https://docs.generatepress.com/article/page-hero-examples/#example-2
Please note I am not using {{post_author}} for the name - using <h2>Dr. Tanya Hudson</h2> instead.
This is because I don't want to link to the author pages.
Cheers!
John
Hi there,
Can you link us to what you currently have as the header? So I can inspect it and help out with the CSS writeup.
You can use the private information text field to provide the site details.
Hello,
Do you want logins to the site?
or the code as it is added to the element?
This is what is in the Page Hero:
[page_hero_gravatar] <h2>Health Talks</h2><p>with Dr. Tanya Hudson</p>
<h1>{{post_title}}</h1>
This is one of the blog posts:
https://drtanyahudson.health/how-to-create-new-healthy-habits-that-stick/
Is that what you mean?