add responsive image to body without being bg img
-
i’ve been at this for two days, so i’d appreciate any help i can get. ??
what i want to do:
add a responsive image that stays on top of everything else in the pages at the same relative position- so it will fit to screen and scale with the rest of the content. kind of like a wide banner.my problem is that since you can’t use a z-index with a background image, i don’t know how to add an image to the body that will give me the same results.
the page template isn’t full-width, so adding it to the page doesn’t help.
i’m using twenty-twelve just as a base.. most other themes gave me even more problems. sorry, i can’t link you, the contents are confidential right now.
when i just use firebug and edit html, i can add the following under the header and get more or less the effect i want (assuming i could still edit the div with css), but i don’t know how to actually incorporate that into the wordpress theme.
<div class=”float-image”>
<img src=”Gardline2880.png” alt=””>
</div></div>thanks for any advice you have.
- The topic ‘add responsive image to body without being bg img’ is closed to new replies.