Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2008
    Posts
    83
    Plugin Contributions
    0

    Default Template Width Help

    Hi,

    I am using the mother earth template and want the page full width,so i changed the setting in the stylesheet as follows:

    /*wrappers - page or section containers*/
    #mainWrapper {
    text-align: left;
    width: 100%;
    vertical-align: top;
    background-image: url(../img/content_bg.gif);
    background-repeat: repeat-y;
    background-position: center;
    }

    The problem is, the background didn't change accordingly, see here www.herbs.electrobitz.com

    Any ideas? Thanks.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Template Width Help

    The background is a single image repeated down the screen. To get it to fit a flexible 100% width, you will have to use two images, one for left and one for right, and apply them to different elements - perhaps body and #mainWrapper. Google for "sliding door method" to see the standard tutorial on this.

    The same principle applies to the header image.

  3. #3
    Join Date
    Jun 2008
    Posts
    83
    Plugin Contributions
    0

    Default Re: Template Width Help

    Quote Originally Posted by gjh42 View Post
    The background is a single image repeated down the screen. To get it to fit a flexible 100% width, you will have to use two images, one for left and one for right, and apply them to different elements - perhaps body and #mainWrapper. Google for "sliding door method" to see the standard tutorial on this.

    The same principle applies to the header image.
    I think i just want to move them behind the sideboxes, as that's where they belong, and not stretch them, will your method do this? Thanks.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Template Width Help

    If you want background images just behind the sidebars, apply them to #navColumnOne and #navColumnTwo.
    I see you have a different template now, so the point is currently moot for you, but you can use the info if you need it.

 

 

Similar Threads

  1. v151 Help! I cannot change the width of my (home) template
    By keithduong in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Jan 2014, 04:29 PM
  2. Template Width Changing **Help**
    By kal in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Aug 2009, 05:01 PM
  3. Help with classic darkness template - width
    By tydallen in forum General Questions
    Replies: 1
    Last Post: 18 Oct 2008, 04:31 AM
  4. width of template
    By keystonewebworks in forum General Questions
    Replies: 9
    Last Post: 5 Apr 2007, 08:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg