You can give each slide its own background image using the “Slide Background” TAB. And the your slide content will appear on top of this slide background image.
Your not understanding what I’m asking. I want to layer text over my image and I need to set a 2nd background behind the text so it can be read instead of blending in to the image. I need the content wrapped in a div to do this. If you still don’t understand….please just wrap the text in its own div.
Hi, you could try using the following HTML with Inline CSS:
<div style="background:transparent url('IMAGE_URL.jpg') no-repeat fixed center; padding:20px;">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
(replace ‘IMAGE_URL.jpg’ with the URL of your background image)
-
This reply was modified 6 years, 5 months ago by
simonpedge.
I did that. I’ve been doing web dev for 19 years….but my client hasn’t. He needs to be able to add text and an image WITH OUT using html. With the div already in the code your plugin generates I can then style it correctly and reduce the chance he’ll mess it up.
Why would you argue with me on this? I don’t see what difference it would make for you to just add a div on your next release.
Because adding a DIV into the generated HTML structure for slides could affect a lot of people who already use the plugin.
People who may use custom CSS to style DIVs within their slide content, e.g:
#SLIDER_ID div { … }
Inserting another DIV into the hierarchy could possibly mess up the styling of existing sliders/
With 80,000+ active installs, if this change affects only 1% of the installed plugins, I’ll end up with 800 irritated users who will no doubt contact me asking why their slider styling on their websites all-of-a-sudden look different.
So, no, its not a change I’m prepared to make.
Just have a check box that turns it on or off and have it off by default?