Cannot work out how to create a full width footer?

Post By:user_4295 | Reply

Hi all,

I have read quite a few posts about moving the footer div out of the container div and then changing the css etc. I have made changes, but everything I have tried does not work. The posts are quite old and it seems the OC files have changed since then too. I am using 1.5.6.1 with default theme.

I want a strip of colour across the full width of the footer by using a tall, thin png image that tiles across the bottom of the site.

Thanks in advance for any help :)
user_33 Mon, 30 Nov -0001

Havent done it for a while, long before 1.5.6.4 but if I remember rightly.

Move footer div outside container, but wrap it round a new div, then style the new div in the stylesheet. You should get a full width footer that way.

user_46198 Mon, 30 Nov -0001

in my case, it worked. Check on the image below.

Good Luck

Ernie
openshop.li

Code: Select all
shopcatalogviewthemedefaulttemplatecommonfooter.tpl

user_4295 Mon, 30 Nov -0001

Thank you SXGuy, I read that sort of thing in the existing threads but as a non-coder it's still as clear as mud ;)

user_4295 Mon, 30 Nov -0001

Thank you IP_CAM as well :)

I forgot to say that I want the current footer columns to stay where they are. They would then get their colour from a tiled tiled image.

In my header I have added

Code: Select all
background: #ffffff url('../image/bg.png') repeat-x;
to the stylesheet and this gives me a header that looks full width.

I tried adding similar to
Code: Select all
#footer {
line 1724 but nothing changed.

I want a similar effect across the bottom of the site as I have at the top i.e. a band of colour that covers the full width of the screen.
Screen Shot 2014-08-24 at 12.47.22.png
Screen Shot 2014-08-24 at 12.47.22.png (55.13 KiB) Viewed 215 times


So I could do with someone telling me what code to add to the stylesheet if possible :)

`Reply Or Comment!
Please LogIn to Reply!