Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Aug 2012
    Posts
    17
    Plugin Contributions
    0

    Default Page Width will Not Increase (MainWrapper)

    For the past 2 days I have been trying to widen the main wrapper, because it looks terrible at 750px. I have changed the stylesheet.css in my template using both 100% and 1024px and it does absolutely nothing. I have been trying to figure this out for 2 days straight, and nothing works. This is is supposed to be very simple, but when I edit anything in the mainwrapper, nothing changes and I don't understand why.

    www.westseedfarm.com

    #mainWrapper {
    background-color: #ffffff;
    text-align: left;
    width: 1024px;
    vertical-align: top;
    border: 1px solid #9a9a9a;
    }

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Page Width will Not Increase (MainWrapper)

    you have a hard-coded 770px width in the first table of you template, probably in the tpl_header.pph in your common folder
    HTML Code:
    <body id="indexBody"> <div style="float:inherit"> <table width="770" border="0" cellspacing="0" cellpadding="0" align="center">   <tr>     <td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFEC9D">           <tr>             <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">                 <tr>                   <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">                       <tr>                         <td><img src="includes/templates/Blossoming Beauty/images/img_home1.gif" alt="img_home1" width="242" height="180"/></td>                         <td><img src="includes/templates/Blossoming Beauty/images/logo.gif" alt="logo" width="239" height="180"/></td>                         <td><img src="includes/templates/Blossoming Beauty/images/img_home2.gif" alt="img_home2" width="289" height="180"/></td>                       </tr>                     </table></td>

  3. #3
    Join Date
    Aug 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: Page Width will Not Increase (MainWrapper)

    Just checked tpl_header.php and I don't see 770px anywhere, any other places it could be?

    EDIT: found it in tpl_main_page.php About to change it to 1024
    Last edited by westseedfarm; 12 Jan 2013 at 11:33 AM.

  4. #4
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Page Width will Not Increase (MainWrapper)

    actually, a lot of places , but you if you follow the trail inside the files, it should be in tpl a file loaded early in the page loading.

  5. #5
    Join Date
    Aug 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: Page Width will Not Increase (MainWrapper)

    It worked! However, my header is broken up into 4 different images and looks odd and separated now, how can I easily shift the images to the left?

  6. #6
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Page Width will Not Increase (MainWrapper)

    for the roses image, the lower part has a align right and a cell width of 320 px. you need to do the same for the upper part. after that you need to play around a bit to align the rest of the images, and table cells, to get them lined up again.

  7. #7
    Join Date
    Aug 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: Page Width will Not Increase (MainWrapper)

    When I click on that rose image using firebug, it shows me the "320" like you said, but I can't actually see this in stylesheet.css, I can only see it in the html code that firebug shows me. How can get access to that code?

 

 

Similar Threads

  1. v150 How can I increase the width of the display so my text area has more width.
    By westdh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Aug 2012, 12:50 PM
  2. increased width of mainwrapper in css, content did not expand (v1.3.7)
    By isaiah36 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Feb 2011, 08:10 PM
  3. Remove Right column on front page only - increase centercolumn width
    By ikernbecauseicare in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 7 Oct 2010, 07:46 AM
  4. How to increase page width
    By breck in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Oct 2008, 07:44 PM
  5. How to Increase Width of Product Page
    By kiddyrack in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Jun 2007, 08:59 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