Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Location
    Trowbridge, Wiltshire
    Posts
    121
    Plugin Contributions
    0

    Default Changing the site colours, widths etc

    Hi all - I am completely new to this but have read a lot of the information within the FAQ/Tutorials area and am beginning to make sense of everything. I have only recently downloaded Zen Cart as part of an evaluation process and I have to say that out of the three viewed so far (OScommerce, VPASP, and Zen Cart) this does look like the clear winner. I am totally new to PHP and have to admit that I am a bit confused......and am after a pointer.

    I went through the process of creating a new template folder as per (https://www.zen-cart.com/tutorials/i...hp?article=142) "Creating a new Custom Template". I have read and understood the override system (https://www.zen-cart.com/tutorials/index.php?article=36) "Setting up template overrides". Both really good guides - but I am sorry to say I still dont get how to change the sites colours, widths etc. I thought it would be through my new custom template so I copied the css file from the classic folder and added it to my template folder - it did change the box heading background colours and a few other things but not the width and other positionings of the site - where is this controlled from?

    I know this is probably a basic request but If I can understand this bit of the design process then it would really help accellerate my evaluation.

    Many thanks.
    Scott

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Changing the site colours, widths etc

    I thought it would be through my new custom template so I copied the css file from the classic folder and added it to my template folder - it did change the box heading background colours and a few other things but not the width and other positionings of the site - where is this controlled from?
    In general, this request is too broad but I can assist with the only targeted item you referenced - -
    A link to your development site is always the best option with definte explanation of what you are attempting

    Find in your stylesheet.css the following and you can adjust the highlighted value in px, %, or em
    Code:
    #mainWrapper {
    	background-color: #ffffff;
    	text-align: left;
    	width: 750px;
    	vertical-align: top;
    	border: 1px solid #9a9a9a;
    	}
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2009
    Location
    Trowbridge, Wiltshire
    Posts
    121
    Plugin Contributions
    0

    Default Re: Changing the site colours, widths etc

    Hi - thanks for the quick reply. When I created the Custom Template I then went back to the store to see what the effects were by changing the Template in the admin section under "tools". This gave me then a 100% width and basic colours. So to try and better understand which elements the main stylesheet was controlling I then copied the Classic stylesheet into my structure (which is set to 750px), expecting to see the site revert back to green backgrounds for title bars and fixed width for the main site, but all I got was the green title bars.

    This is the bit that confused me as my immediate thought was that there were other things driving the site widths etc.

    Thanks again
    Scott

 

 

Similar Threads

  1. Changing colours on the cart
    By dsydius in forum Basic Configuration
    Replies: 10
    Last Post: 12 Aug 2010, 04:46 PM
  2. Changing the catalogue colours
    By Morgan in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Aug 2006, 12:09 PM
  3. changing colours etc and stylesheet_new/sytlesheet_orig
    By ryangsoton in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Jul 2006, 11: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