Thread: Pages resizing

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Mar 2007
    Posts
    20
    Plugin Contributions
    0

    Default Pages resizing

    I am still getting up to speed on the template system. I have alot of it figured out. However, I have some pages on my site that resize. I cant seem to figure out how to stop it. I tried putting a wrapper around the

    require($body_code); ?>

    in tpl_main_page.php

    however it is not helping.

    the biggest problem pages are

    contact us

    index.php?main_page=index&cPath=6 (displays list of products in category)

    mainpage=login / logout

    these pages seem to be unrelated so how do I keep them all to a specific width?

    Thanks

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

    Default Re: Pages resizing

    Can you post a URL so we can actually see the problem?

  3. #3
    Join Date
    Feb 2007
    Location
    Los Angeles
    Posts
    359
    Plugin Contributions
    0

    Default Re: Pages resizing

    [FONT=Times New Roman]Hi[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman] I think I got same problem in some pages, my boxes go off the main page to the right [/FONT]
    [FONT=Times New Roman]If and when you find a solution, please post it here so I can solve my issue too[/FONT]
    [FONT=Times New Roman]This is one of my pages [/FONT][FONT=Times New Roman]http://www.tiledepot.us/store/index.php?main_page=index&cPath=2[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Thank You [/FONT]

  4. #4
    Join Date
    Mar 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: Pages resizing

    Quote Originally Posted by gjh42 View Post
    Can you post a URL so we can actually see the problem?
    there are a couple pages that do it... Here is one...

    http://www.72hrprint.com/index.php?main_page=contact_us

  5. #5
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Pages resizing

    First fix these two errors

    line 501 .centerBoxHeading Property background-colo doesn't exist : #c9eda5
    line 779 .Left_Nav_FPS_Box_Header a:visited, .Left_Nav_FPS_Box_Header a:link Parse Error -


    Then
    Find this code:
    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #000000;
    background-color: #ffffff;
    height:100%;
    width:100%;
    }

    And change to this code:

    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #000000;
    background-color: #ffffff;
    }

    Find this code:

    #navBreadCrumb, #navEZPagesTop {

    font-size: 0.95em;

    font-weight: bold;

    margin: 0em;

    padding: 0.5em;

    width:100%;

    float:left;

    }
    and chang to this code:


    #navBreadCrumb, #navEZPagesTop {
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    padding: 0.5em;
    width:760px;
    float:left;
    }

    Should have all your pages in the center with no hang-overs or blow-outs

  6. #6
    Join Date
    Feb 2007
    Location
    Los Angeles
    Posts
    359
    Plugin Contributions
    0

    Default Re: Pages resizing

    [FONT=Times New Roman]Hi and Thank You all for the help[/FONT]
    [FONT=Times New Roman]I did learn the hard way, (Thank you Clyde) not to use dream weaver or word to copy paste to Zen cart,[/FONT]
    [FONT=Times New Roman]I spent abut a month trying to fix it, and today I actually got it fix , and again thx to Clyde.[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]For all you out their new one use note pad , PCKeditor, or few other safe ones.[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]What I did base on Clyde tip is add on my stylesheet.css this comment, [/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Arial]#mainpage {[/FONT][FONT=Arial][/FONT]
    [FONT=Arial] font-family: "times new roman", times, serif;
    font-size: 1.3em;[/FONT]
    [FONT=Arial][/FONT]
    [FONT=Arial]text-align: center;[/FONT][FONT=Arial][/FONT]
    [FONT=Arial]}[/FONT][FONT=Arial][/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman](can’t explain exactly what it dose but well you take Madison from your doctor when you need and don’t always know what you taking) [/FONT]
    [FONT=Times New Roman]So I got my problem solve, hope other will learn from my problem.[/FONT]
    [FONT=Times New Roman][/FONT]
    [FONT=Times New Roman]Good luck [/FONT]

  7. #7
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Pages resizing

    AAA HUM, This thread was cbrknight's and the fix was for cbrknight.



  8. #8
    Join Date
    Mar 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: Pages resizing

    Thanks for finding those errors.

    I fixed them and applied the changes you posted. It is still blowing out. Man I love css but it can be a REAL pain.

    Any ideas what else it could be?

  9. #9
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Pages resizing

    Your contact us page and the help center are the only blown out page so the problem lies in formatting of those pages.

    Did you add a un needed style there? Cut the content out of those pages and paste in a text file. Then save your zen cart page and test in the browser. I think you will find your issues there

    You have 2 stylesheets and you need to choose one of them and trun the other into a .txt for testing.

    If you are going with a 760 wide page you should also change this:
    .header_wrapper {
    width: 100%; /should be 760px/*/
    background-color: #cacaca;
    }

  10. #10
    Join Date
    Mar 2007
    Posts
    76
    Plugin Contributions
    0

    Default Re: Pages resizing

    Quote Originally Posted by motti View Post
    [FONT=Times New Roman]Hi[/FONT]

    [FONT=Times New Roman]I think I got same problem in some pages, my boxes go off the main page to the right [/FONT]
    [FONT=Times New Roman]If and when you find a solution, please post it here so I can solve my issue too[/FONT]


    [FONT=Times New Roman]Thank You [/FONT]
    I am having this problem now, I changed my page width - only the width number - now all of my pages are correct except one:

    http://www.bopeepswoolshop.com/zenca...=index&cPath=4

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. resizing a logo
    By alillowr in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 9 May 2008, 12:30 PM
  2. Static body for resizing (How to keep the body from sliding and moving when resizing)
    By bjmhistory in forum Templates, Stylesheets, Page Layout
    Replies: 22
    Last Post: 26 Jan 2007, 12:28 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