kineas Posted April 24, 2016 Share Posted April 24, 2016 (edited) Hello, I set the header (and top-menu) to be fixed so it could stay on when scrolling down. However, now the menu is "on the top" of category-image, as well as the content-box I set up for the homepage. The effect is that the resizing is bugging --> For example, if you go to the homepage http://www.homegourmet.be and minimize the window, the "Home" of "Home Gourmet" is disappearing. How come that my fixed-topmenu is now on the top of my category images, and not above them? setting-up a padding-bottom doesn't work (and it leaves a blank padding, where I want my menu to be "scotched" to the image right below) modified global.css code: header { z-index: 1; position: fixed; /*old = relative */ background: #fff; padding-bottom: 0px; width: 100%} Any idea? Thanks !!! Edited April 26, 2016 by kineas (see edit history) Link to comment Share on other sites More sharing options...
kineas Posted April 26, 2016 Author Share Posted April 26, 2016 Really in despair here sorry to "up again" but if you have an idea... Link to comment Share on other sites More sharing options...
Daresh Posted April 27, 2016 Share Posted April 27, 2016 Usually if you want something to be on top, you give it a higher z-index. Link to comment Share on other sites More sharing options...
kineas Posted April 27, 2016 Author Share Posted April 27, 2016 It doesn't change anything.. I set it up to 2, 10, 100... doesn't change. See an example here: the menu is shrinking (well, on top of..) the whole title of the product, for example http://homegourmet.be/index.php?id_product=27021701&controller=product&id_lang=1 Link to comment Share on other sites More sharing options...
Daresh Posted April 27, 2016 Share Posted April 27, 2016 I see, well in this kind of situations, when I want to make something fixed, I set an additional padding to what is next after it. For example in your case a top padding of 61px to the columns-container should do. Link to comment Share on other sites More sharing options...
kineas Posted April 27, 2016 Author Share Posted April 27, 2016 You're my hero. 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