Javi Ferrer Posted July 23, 2016 Share Posted July 23, 2016 (edited) Hi there, I would like to mantain fixed or scroll top header banner, (only top banner) and not all header. I have read some post about mantain completely header or/and menu. I'm want mantain only top promotional banner. Any idea how can I do it? Prestashop version 1.6.0.14. Edited July 23, 2016 by Valentin Yonte (see edit history) Link to comment Share on other sites More sharing options...
endriu107 Posted July 23, 2016 Share Posted July 23, 2016 Please share url to your shop. Link to comment Share on other sites More sharing options...
Javi Ferrer Posted July 23, 2016 Author Share Posted July 23, 2016 Thank's Ambassador. I found the solution. and I share here: I modify file global.css on Theme css folder Around line 2219 on Theme folder/css/global.css added: .nav { margin-bottom: 0; padding-left: 0; list-style: none; padding-top: 50px <---- } } Aroud line 5511 on Theme folder/css/global.css added: header .banner { z-index: 999999999; <----- position: fixed; <----- width: 100%; <----- background: black; max-height: 100%; <----- } I got 1. Fix/scroll the top banner when you scroll down on page. 2. Mantain the Top Nav menu It's desirable that Prestashop guys add an option in Modules > Theme configuration > Show Top Banner, an option to lock/fix Top banner". I solved the issue. Thank you. Link to comment Share on other sites More sharing options...
Aldeag Posted March 30, 2020 Share Posted March 30, 2020 Long time ago but, how would it work in Prestashop 1.7.6.3? 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