Setting a fixed .fpw-featured-image
-
First of all, I like to thank you for this great plugin. It is a great way of featuring pages which is what I have been looking for. Thank you for contributing.
I am looking to set a fix featured image size of 314px by 236px instead of dynamically resizing them. The reason being that my featured pages are Galleries and they have different sizes. I have tried adding the following in the styles.css but it does not give me the size I want:
.fpw-layout-wrapped .fpw-featured-image { width: 314px; height: 236px; }
Yes it does give me the correct width for both portrait and landscape oriented featured image, but does not give the correct height.
I understand the solution may distort the image a little but I can accept that. Probably a hard-crop solution is also possible.
Please advice. Thank you very much!
Dave
- The topic ‘Setting a fixed .fpw-featured-image’ is closed to new replies.