cnpark70 Posted May 28, 2015 Share Posted May 28, 2015 I changed the header position from relative to fixed in global.css. Now the header section including nav, horizontal menu, logo, carts, sign is fixed in position as intended. Here is the issue I am having. The fixed header is overlapping body. In other words, the bottom of header is covering little bit of top portion of body content. How could I put more space between header and body so they don't overlap each other. Thank you in advance for your help http://www.kocamoca.com/en/skincare/10-test-skin-lotion.html Link to comment Share on other sites More sharing options...
razaro Posted May 28, 2015 Share Posted May 28, 2015 (edited) Try this, in global.css line 5481 change top padding #columns { position: relative; padding-bottom: 50px; padding-top: 110px; } P.S. And please do not double post and post all your question in Installing Prestashop sub-forum. Edited May 28, 2015 by razaro (see edit history) Link to comment Share on other sites More sharing options...
cnpark70 Posted May 28, 2015 Author Share Posted May 28, 2015 Thank you so much. It worked out well. If I may ask another, I was wondering if there is any coding in css to align header section.to middle? Link to comment Share on other sites More sharing options...
razaro Posted May 28, 2015 Share Posted May 28, 2015 (edited) Try with combination of width: 100%; text-align:center; to wrapper element, and for element that you want to center float:none; width:auto; display:inline-block; Edited May 28, 2015 by razaro (see edit history) Link to comment Share on other sites More sharing options...
cnpark70 Posted May 28, 2015 Author Share Posted May 28, 2015 header is what I want to align center . So something like this below? header { z-index: 1; position: fixed; background: #fff; padding-bottom: 10px; width: 100%; text-align:center; float:none; width:auto; display:inline-block; } Link to comment Share on other sites More sharing options...
cnpark70 Posted May 29, 2015 Author Share Posted May 29, 2015 Thank you Razaro, It works great. 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