Webmastersite.net
Register Log In

Main background problem

Comments on Main background problem

jem71
Member

Usergroup: Member
Joined: Jan 11, 2004

Total Topics: 9
Total Comments: 24
jem71
Posted Jan 18, 2005 - 4:26 AM:

At long last Im moving to 2.11 but have come across a problem with the new wrapper template.

I want the entire site to have a certain image background. I specify it in the wrapper template and it shows in the header and footer but I get a default? white background in the main part. I have tried to put the div class=main in a 100% wide table with the required background but that doesnt seem to work either. I cant see how I can specify the page background on the individual pages ie. main.tpl as there is no body tag.

I could put the everything in main.tpl in a 100% table but I actually want it to be centred 95% so I would then get 2 stripes of white on either side.

Hope you understand what Im trying to get at...thanks
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 18, 2005 - 2:34 PM:

Just remove the if you don't want the different background for the middle section.

Wrappers apply to all pages of the site (except WSN Codes or the like where specifically excluded). Main.tpl's body tag is specified in wrapper.tpl.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.