Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2008
    Posts
    6
    Plugin Contributions
    0

    Default I want my website of full screen width

    Hi everyone,

    Thank you for reading my post, it is my first one in the forum. I appreicate your time

    I just installed zen cart a couple days ago. I found that my webpage is not 100% width of the screen. this is my webpage, http://bizboy.org/paintings/

    I viewed it on laptop, it is about 70 percent of the screen width. I viewed it on NON-lcd monitor which is 10 years old, it is again 70 percent of the screen width.

    I did search this forum trying to find answer, but I have not found one.

    Can anybody give me some instructions so I can solve this problem.

    Thank you so much

    Jason

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: I want my website of full screen width

    Find this in stylesheet.css:

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

    and change the width to 100%.

  3. #3
    Join Date
    Dec 2006
    Location
    Athens - Greece
    Posts
    71
    Plugin Contributions
    0

    Default Re: I want my website of full screen width

    Hi,

    edit stylesheet.css in includes/templates/yourtemplate (where "yourtemplate" is your custom template folder - if there's any)

    edit width and change value to 100%

    PHP Code:
    #mainWrapper {
     
    background-colortransparent;
     
    text-alignleft;
     
    width100%;
     
    vertical-aligntop;
     } 
    You will find more information in tutorials/Links for the customization of your cart.

    George

  4. #4
    Join Date
    Jul 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: I want my website of full screen width

    Thank you, stevesh and pelasgos. I appreciate your help.

    However, in my case, I just don't know which stylesheet.css to work on. There are a few here.

    1. (includes\templates\template_default\css)

    It is already as:

    #mainWrapper {
    background-color: #ffffff;
    text-align: left;
    width: 100%;
    vertical-align: top;
    }

    So I better leave it alone

    2. (includes\templates\classic\css)

    It is already as:

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

    Maybe I should change 750px to 100%

    I will do it and see what happens

  5. #5
    Join Date
    Jul 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: I want my website of full screen width

    It works.

    Thank you again!


  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: I want my website of full screen width

    That's great, but now you're modifying the 'classic' template, and those files (and your changes) will be overwritten the next time you upgarde Zencart to a new version.

    You really want to do this:

    https://www.zen-cart.com/tutorials/i...hp?article=142

    then study this:

    https://www.zen-cart.com/tutorials/index.php?article=36

  7. #7
    Join Date
    Jul 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: I want my website of full screen width

    thank you!

    I will read those 2 articles and do a better job next time

    It is awesome to be a new zenner.

 

 

Similar Threads

  1. full screen header on page with fixed width
    By Raduzz in forum General Questions
    Replies: 3
    Last Post: 4 Feb 2010, 02:38 AM
  2. full screen site
    By myonitink in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Apr 2009, 08:42 PM
  3. Is Possible do full screen?
    By M_I_M_M_O in forum Basic Configuration
    Replies: 2
    Last Post: 26 Dec 2008, 02:34 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