Boz2006
Member
Posted 3 years ago #
I'm trying to insert an image with wrap-around text on a page in the Videographer theme.
The image is 157 x 105. It uploads OK, it inserts OK, it looks fine from the Dashboard.
But viewed on the site it's distorted (stretched horizontally). If I inspect the image, it's still showing 157 x 105.
Could anyone explain what I'm doing wrong?
the reason is the 'width: 40%' in the following lines in style.css:
.alignleft { float:left; text-align:left; width: 40%; min-height: 50px;; }
.alignright { float:right; text-align:right; width: 40%; min-height: 50px; margin-right: 10px; }
just remove 'width: 40px;' from both lines in the style.css of your theme.
Boz2006
Member
Posted 3 years ago #
That's great, thanks alchymyth, it's sorted.
Why would the designer have made that restriction?
why questions are notoriously difficult to answer ;-)