responsive text image
Hi Stefan, I just sent you a small donation. Thanks for your top notch service in these forums, it hasn’t gone unnoticed!
Question for you:
I want to insert images from a url instead of from the media uploader.
Let’s say the image is http://someimage.com/image.png, and it’s dimensions are 800*600, and I want to center the text HI THERE
I tried this
<div style="background-image: url(http://someimage.com/image.png); background-repeat:no-repeat; background-attachment:fixed; background-position:center; height: 800px; width: 600px; border: none; text-align:center;"><BR/> HI THERE </div>
but when I scroll down the page the image isn’t responsive.
1) what inline style do I paste in the text slide for the image to remain responsive?
2) I assume that the max height of the slider has to match the max height of all of my images?
Suggestions will be appreciated!
- The topic ‘responsive text image’ is closed to new replies.