abrat2014
Member
Posted 1 year ago #
Some images in my posts are able to bleed over the side bar, I am using Modularity as a theme, what code can I add to hide that part of the image that bleeds over.
i am under the influence it has somethingt to do with Overflow: Hidden?
my site is: http://www.andredeveaux.com
I want my images to not bleed over my layout/sidebar like on my other site http://andredeveaux.wordpress.com
abrat2014
Member
Posted 1 year ago #
Can anyone help?? I hate that my post images are able to spill over my side bar...
nathan12343
Member
Posted 1 year ago #
It looks to me that the sidebar is 310px wide and the image is 328px. If you did overflow:hidden on the class 'span-8' then you would be cutting off the last 18px of your facebook link image which might look worse than having it overflow.
If you can't edit the image code (I don't know how it got there) then you might try adding this to your stylesheet:
.span-8 img {max-width: 310px !important; height: auto}
Not sure how successfull it would be as the img width is specified in the ing code. But worth a try!