Archived topic
post image sizes not changing
4 replies · Started by Jay on January 10, 2017
I followed some documentation regarding the obvious post image size in the customizations tab. However after making those changes I do not see the images in the posts conforming to the height/width specifications.
Can you please share a link to the live site or may be some screenshots?
The post image sizing in the Customizer refers to the blog index - not single posts. Are you wanting to resize the single post images?
Yes, I want to resize the single post images.
I also wish to display the category. The code I think I need is:
.recent_cat a{
background-color: #cc0000;
color: #fff;
padding: 2px 3px;
}
I have that in the simple-css section. Where do I need to change it so that it displays something like this: https://screencast.com/t/cbMI3a5QnGCJ
It would also be great if I could inject that Post title as well.
On the post list, I would like to do the same like this: https://screencast.com/t/9ETcqg8rrFV
Thanks in advance.
For now single featured images need to be resized individually: https://docs.generatepress.com/article/page-header-image/
Although global resizing options are on my list to do.
Getting that kind of layout would take some considerable custom programming I'm afraid which is a little out of the scope of this forum.
This function exists which moves the categories and tags up under the title: https://gist.github.com/generatepress/c25f5fad1f646ef5eea3
Then you can target the categories with this CSS:
.cat-links a {}
However that won't be exactly what you're looking for.