Home › Forums › Pro Support › Overlay- Style 1 This topic has 5 replies, 2 voices, and was last updated 2 years, 5 months ago by elvin. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts April 11, 2021 at 2:31 pm #29095 vikingrulerParticipant Hello there, I am using the Cards, Overlay – Style 1 for a sidebar widget. I want the image to be exactly 300px x 300px. Because of this code: .wpsp-overlay .wp-show-posts-image img { height: calc(100% + 1em); } the image is 300px x 336px, magnified, and cuts off parts of the image. Is there any adverse effect, should I change the calc(100% + 1em) to calc(100% + 0em)? Thank you. Kallad April 11, 2021 at 2:36 pm #29097 vikingrulerParticipant Sorry… Should be this code: .wpsp-overlay .wp-show-posts-image { height: calc(100% + 1em); } April 11, 2021 at 6:11 pm #29108 elvinModerator Hi there, Is there any adverse effect, should I change the calc(100% + 1em) to calc(100% + 0em)? There shouldn’t be any big issue if you do that. Writing it this way should be fine: .wpsp-overlay .wp-show-posts-image, .wpsp-overlay .wp-show-posts-image img { height: 100%; } April 12, 2021 at 12:24 am #29114 vikingrulerParticipant Thank you Elvin. April 12, 2021 at 12:27 am #29116 vikingrulerParticipant . April 12, 2021 at 12:32 am #29118 elvinModerator No problem. Glad to be of any help. 🙂 Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In