Site logo

Archived topic

WPSP Image elements explicit width and height CSS advice

4 replies · Started by nomadiceman on July 19, 2021

Viewing posts 1–5 of 5

Hi Elvin, David, thanks for the information you gave in this link https://generatepress.com/forums/topic/image-elements-dont-have-explicit-width-and-height/

You mentioned "use CSS rather than the WPSP image height and image width text fields to avoid this issue."

do you have an example of the css to do that? I've given you the url to the page with the WPSP images.

I just want the image size of 300 x 157, the same as my other archive pages which is set in the customiser to use "medium" images

My "medium" size settings in my "media settings" is max width 300 and max height 300

I just cant figure out what CSS to use to size the WPSP images. Currently ive got the dimensions set in the WPSP settings

I have WPSP pro if that makes a difference

Thanks for your help

yeah no problem, wasn't sure what's best

Thanks! I'm sure Elvin will get to it later :)

This archived topic is closed to new replies.