Archived topic
Version 1.4-rc.1 - featured image issue
3 replies · Started by Peter on July 27, 2017
http://infinitely.one/verse-02
I am testing Version GP 1.4. Actual version is 1.4-rc.1.
Created a page header for posts, that is fixed at the bottom.It contains navigational elements only.
Now I would like to have the featured image of each post on the top centered.
In customizer it doesn't accept any changes for posts in blog > featured images. (Show/Hide - Above/below title, left/centered/right)
Temporary CSS is .single img {
margin-left:48%;
},
but this cannot be the solution.
So the question is: Why can the Customizer settings for the featured images not applied, when using GP 1.4?
The method I provided here should do it: https://generatepress.com/forums/topic/suggestion-page-header-for-pages-posts/page/2/#post-347978
Hi Tom,
it was also me, who created the other post. Looks like I am constantly hitting the same wall :-)
This code is already in my function.php. That's why the featured image appears in the top of each post and not in the page header.
But I cannot apply any settings for the featured image like it is possible in the customizer- in my case I would like to have the featured image centered.
Couldn't find a suitable CSS for the featured image only - can you please advise ?
Something like this should do it:
.single .wp-post-image {
display: block;
margin-left: auto;
margin-right: auto;
}