jeremie Posted November 19, 2020 Share Posted November 19, 2020 Hi , I'm having issue with a script i try to integrate to my homepage. it is working just like i wanted but it's covering my title and menu bar which i have fixed on top. i'm not sure if I explain myself right as i'm very new to this. here is the script: <script type="text/javascript"> jQuery(document).ready(function($){ 'use strict'; jQuery('body').backstretch([ <?php foreach($page->images as $image) { echo '"'."$image->url".'",'; } ?> ], {duration: 4000, fade: 500, centeredY: 2000 }); }); </script> thanks for your help. Link to comment Share on other sites More sharing options...
louisstephens Posted November 19, 2020 Share Posted November 19, 2020 Is the title and menu bar contained within a wrapping div? You could do this for the individual elements, but have you tried bumping up the z-index of the wrapping div or the ind. elements to bring them on top of the background image. 1 Link to comment Share on other sites More sharing options...
jeremie Posted November 20, 2020 Author Share Posted November 20, 2020 sorry for the dumb question I realised it was css related. anyway thanks for the hint . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now