Home › Forums › Back End › Seperating Image and Text max-width › Reply To: Seperating Image and Text max-width
October 4, 2013 at 7:27 pm
#152094
Alen
Participant
If you were doing this right, you would hook into wordpress and remove p
tag as well as width
from images.
https://css-tricks.com/snippets/wordpress/remove-paragraph-tags-from-around-images/
https://css-tricks.com/snippets/wordpress/remove-width-and-height-attributes-from-inserted-images/
Then all you have to do is:
.content-entry img{ max-width:100%: }
.content-entry p{ max-width: 900px; }