colognevice
Member
Posted 6 months ago #
Hi!
i want to set up my page and place the images in the posts OUTSIDE the p-tags.
The standard routine to include images:
<p><img...>Lorem ipsum</p>
What i want:
<img...>
<p>Lorem ipsum</p>
I just want to handle images different via css
# no padding
# no background
that comes from the p-formatting.
Is this somehow possible, via template arrangement, Backend-Setup, Plugins?
Thanks for any idea.
It should be possible to handle this using pure CSS.
colognevice
Member
Posted 6 months ago #
I thought the same, but the image is always inside p-tags. Something like
p img {background:none; padding:0; }
won't remove that.
Idea?
Idea?
Not without seeing a page demonstrating the problem.
colognevice
Member
Posted 6 months ago #
Jonathan Christopher
Member
Posted 6 months ago #
colognevice
Member
Posted 6 months ago #
Thanks, that hint helped.
<?php use_the_attachment_image_nolink('full'); ?>