I'm trying to put a banner as a background of Boutique like the background image of GameNews Template.
So far I was able to show the banner as background and center it in the page, but I cannot make clickable the banner link.
I've set these modification to css:
- Code: Select all
.BackgroundBanner {
position: fixed;
top: 0px;
width: 100%;
overflow: hidden;
z-index: -1;
}
.BackgroundBanner img {
position: relative;
right: -50%;
}
.BackgroundBanner .banneritem {
display: inline-block;
position:relative;
float: right;
right: 50%;
}
I've put the banner in 'debug' module position and applied the BackgroundBanner class suffix, but this way the link isn't clickable.
I've tried to remove the z-index from BackgroundBanner and I've applied a z-index of 10 to #gkPage: this way I can click the banner, but not all content stay on top of the background image... is there a way to set ALL content under #gkPage div to use an higher z-index?
(I made tests on a local site, so I can't link you to an example)