Archived topic
Move featured image to right of title and meta
7 replies · Started by Dave on January 3, 2021
I am looking to move the featured image to the right of the title but above the sidebar.
I want it to look something like this: https://imgur.com/a/jw9eU0r
Cheers,
Dave
Hi,
I'm not exactly sure I understand what you're trying to achieve.
To clarify: Are you trying to create a page-hero section with featured image to the right of title?
Also, on what pages are you trying to apply this layout? Let us know.
Essentially I would like to have the blog post or single.php so that the featured image appears to the right of the title and the beginning part of the body of text. This is a good example https://www.saltinourhair.com/tips/start-travel-blog/ except I don't want the text at the top (under the title) to be a seperate entry but the actual beginning text of the post.
I want to be able to apply it to the 500 posts on my existing website when I implement it.
Cheers,
Dave
Hi there,
i believe I provided something similar to this in a different topic:
https://generatepress.com/forums/topic/how-to-customize-single-post-header/
Is the issue that the your Excerpt is effectively displaying twice ? ie. in the Header element and at the start of the content
Hi David. Yes, that is the issue.
Cheers,
Dave
Hmm thats a tricky one - i am not sure what the solution there would be - if were to 'trim' the first X amount of words ( X being the excerpt length ) from the_content then the excerpt would simply begon from the start of the trimmed content.... its a bit of a rabbit hole that one... might need to ask the Gurus on StackExhange
I would love to see if there is a solution. :)
cheers,
Dave
You will need to ask in the question in this forum:
https://wordpress.stackexchange.com
The expert community there may have a solution - i looked around but couldn't find anything relevant to this requirement....