Image rules similar to featured images
-
I like how featured images work in the theme. No matter what format (horizontally or vertically) the images stay within certain dimensions.
Now I wonder how I enforce the same rules for images inside posts and pages? There already seems to be a maximum width since uploaded images never exceed the text width. However, there is no maximum height and that is what I want to achieve. I also want vertical images just like featured images to be centered by default.
Right now, vertical images can be so large that you need to scroll and not be able to see the entire image in the window. Of course, I can minimize each time I upload vertical images (or upload the correct size), but I’d rather see a maximum height so people can enlarge full-screen images if they want (and I don’t have to minimize each time).
Here is a preview image to demonstrate how it looks now (default):
https://i.imgur.com/nFbNMZc.pngI had to zoom out in the browser to be able to display as in the preview image. If it is not clear, the top image is the featured image and the bottom image is the same image but inside the post.
Thanks in advance!
The page I need help with: [log in to see the link]
- The topic ‘Image rules similar to featured images’ is closed to new replies.