Jump to content

(Solved) Full width header without affecting the other parts of the page?


Recommended Posts

Trying to adjust JUST the header to full width and not sure I am doing it correctly. I have followed this thread http://www.prestasho...age__hl__header

 

However I do not know what they mean by remove grid_9. I also noticed once I do that it messes with the entire page (i.e. top horizontal menu and image slider home) How can I make the header full width YET leave the top menu and image slider centered?

post-595250-0-19415900-1373929558_thumb.jpg

Edited by JANDSCLOTHINGCO (see edit history)
Link to comment
Share on other sites

1. go to header.tpl file and change:

<div id="page" class="container_9 clearfix">

to:

<div id="page" class="container_9 clearfix" style="width:100%!important">

 

2. change the:

<div id="header" class="grid_9 alpha omega">

to:

<div id="header" class=" alpha omega">

 

3 change the:

<div id="header_right" class="grid_9 omega">

to:

<div id="header_right" class=" omega" style="width: 100%!important;">

 

4. open the superfish-modified.css: /modules/blocktopmenu/css/superfish-modified.css

and change the:

.sf-menu {
margin: 10px 0;
padding: 0;
width: 980px;
background: #000000;
}

to:

.sf-menu {
margin: 10px 0;
padding: 0;
width:100%;
background: #000000;
}

 

5. open the /modules/homeslider/bx_styles.css

 

change the:

.bx-wrapper {
margin-bottom: 20px;
height: 300px;
clear:both;
}

to:

.bx-wrapper {
margin-bottom: 20px;
height: 300px;
clear:both;
margin:auto;
}

Link to comment
Share on other sites

I've noticed it is doing that with the products as well. This is the part I can't figure out. I want the pages (ie. products, specials, my account, etc) to STAY centered to the screen as they are by default at all times and ONLY the footer and header full width.

 

FINALLY! lol After messing around with the header.tpl file and searching some other header threads this one worked for 1.5.4.1

 

<div id="page" class="container_9 clearfix" style="width: 100%;">

 

<div id="header" class="grid_9 alpha omega" style="width: 100%; clear:both; display:block; overflow:hidden;">

 

and adding this line right AFTER the one above

<div style="width: 980px; display:block; margin:auto; clear:both;">

 

and adding this

<div style="width: 980px; display:block; margin:auto; clear:both;">

 

on the line BEFORE

 

<div id="columns" class="grid_9 alpha omega clearfix">

Edited by JANDSCLOTHINGCO (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...