Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Seperating Image and Text max-width Reply To: Seperating Image and Text max-width

#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; }