Novice user needs assistance with slider banner in show. Cannot seem to get my images to display and replace the example ones. I changed the 1st slider to this:
to test but a blank image appeared on preview.
Below is the original code from the show theme tutorial
Page built with Stacks.
Show includes a FREE Stack called "Gridly" that you can use to create pages like this!
<div id="myExtraContent1"> <div class="wt-slider"> <div class="s-slide" style="background-image:url(%pathto(images/banners/banner_1.jpg)%)"> <div class="s-item"> <h1>Page built with Stacks.</h1> <p>Show includes a FREE Stack called "Gridly" that you can use to create pages like this!</p> <a href="#two" class="button scrolly">Learn More</a> </div> </div> <div class="s-slide" style="background-image:url(%pathto(images/banners/banner_1.jpg)%)"><div class="s-item"><h1>Slide 2</h1></div></div> <div class="s-slide" style="background-image:url(%pathto(images/banners/banner_1.jpg)%)"><div class="s-item"><h1>Slide 3</h1></div></div> <div class="s-slide" style="background-image:url(%pathto(images/banners/banner_1.jpg)%)"><div class="s-item"><h1>Slide 4</h1></div></div> <div class="s-slide" style="background-image:url(%pathto(images/banners/banner_1.jpg)%)"><div class="s-item"><h1>Slide 5</h1></div></div> </div> </div>
thanks for your help - here is the code which I’m using from the show theme. I have the image I want to use in resources. When i replace (images/banners/banner_1.jpg)%) to (resources/banner_1)%) i get a blank. I guess I am doing it totally wrong.
Make sure you paste as plan text.
To use resources try
Replacing the entire url statement: url(%pathto(images/banners/banner_1.jpg)%)
With: url("%resource(my-image.jpg)%")
It works correctly with this code and his images but replacing the images with my own and making it work is proving an issue. I did email him but as yet have had no reply.
That’s why we need to see Your Code and your URL. There is something you are doing differently. I already referenced the tutorial URL above. When working with CSS, HTML, and inserting resources something as simple as a comma or bracket will “break” the site.
Without seeing what you have there’s no way to get help.