First, thanks for the awesome module. I'm trying to do some custom theming now though, and having a bit of an issue. I'm trying to overlay an image (kind of a border) over the entire slideshow, but having issues getting the CSS to work. Has anyone done something similar, and if so, how did you achieve it?
Comments
Comment #1
devin carlson commentedI'm glad that you like the module. :)
There are two ways of overlaying something over each slide: changing the slide images themselves or presenting a transparent image over-top of the existing slide images.
The first way involves taking advantage of Nivo Slider's image style integration by using the ImageCache Actions module to "bake" an overlay into each slide image.
The second way requires you to manipulate the "ribbon"
<div>above the slideshow. You can combine a transparent background with absolute positioning and a fixed height + width to overlay the background over the slideshow. This is how the default Orman and Pascal themes add a ribbon to the corner of the slideshow (you can take a look at their CSS for examples).You'll want to do something like:
Set the
heightandwidthto that of your image dimensions and position the image usingtopandleft. Make sure that you set thez-indexhigh enough to ensure that the background is rendered before the slides.Comment #2
brycesenz commentedThanks for the tip - that worked perfectly!