Random Background Image?
-
Dear Brianna
It seems that your Plugin does exaktly what I am looking for. Eventually. May I ask you if there is any way to use it for random background-images?
This is my Hero HTML
<div class="header_random-image"> <div id="hero"></div> </div>
I would like to insert a random background-image using this CSS
#hero { background-image: url( RANDOM IMAGE INSIDE HERE ); background-size: cover; background-position: 50% 30%; height:70vh; width: 100%; margin-top: -65px; }
To use it as a background-image I need to output just the image-URL and I need to place it on to the right place in this CSS-rule.
Further I’d like to extrakt at least one image meta-field (the caption for example) to display a unique URL beside my hero image. have a look here: https://www.dropbox.com/s/6dbu7g3dajp7q1b/RRHI.jpg?dl=0
As you probably see I am not a developer but after two days of investigation I am quite desperate. Is a user-friendly and responsive random-hero-image rocket science?
Best from Berlin
Tibor
- The topic ‘Random Background Image?’ is closed to new replies.