X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Footer over-riding the search bar (https://forum.x-cart.com/showthread.php?t=54491)

SID357 07-06-2010 08:17 PM

Footer over-riding the search bar
 
I'd like to keep the footer, but when I added it, it put it right over the search bar. I can change the size of the footer and everything but can't seem to move it to the bottom where it belongs.

http://www.shirtsforthepeople.com/sftp/home.php
4.3.2 pro

main.css
Code:


#footer {
    height: 39px;
    width: 100%;
    position: absolute !important;
    bottom: 0;
    overflow: hidden;
    float: left;
}

#footer .box {
  width: 100%;
  border: none;
  border-top: 1px solid #cb480c;
  padding: 0px;
}

#footer .subbox {
  margin-bottom: 4px;
  border-top: #ffd30d 1px solid;
  background: #f4f5f7 none;
  color: #667d92;
  height: 40px;
  vertical-align: middle;
  padding: 1px;
}


I've tried changing the alignment but, probably not doing something right cause nothing seems to change the location except resizing or removing it all together.

Shamun 07-06-2010 10:01 PM

Re: Footer over-riding the search bar
 
Well, this is possibly not the problem (actually, it is) but you have the footer as a sub-div in the header.
Go into your header tpl file and toss in an extra </div> at the end and it should clear everything up. I edited the html using firebug and doing that put the footer at the bottom as it should be.

SID357 07-07-2010 11:54 AM

Re: Footer over-riding the search bar
 
Yeah, it would of taken me a month to find that. lol

Thanks Tal, appreciate it man!


All times are GMT -8. The time now is 06:15 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.