Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default page won't change - my css changes aren't working

    Hi,

    I have 2 override folders custom and custom2 for 2 different ZC. Everytime i have a custon i also have custom2 , both in same dir and not in each others.

    I have the css file in the overrides to change for each custom,custom2 folder. I want to change the custom2 whole page .
    I can change somethimgs in css override but not this which seems to be unchangeable, no matter what i put.
    I want the page to be 800px and not 750 for starters but putting 800px has no effect.

    I can get changes if i change the #mainWrapper name, meaning ZC isn't picking up changes i set to my specific template.

    body {

    margin-top: 20px;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #000000;
    background-color: black;
    }


    #mainWrapper {
    text-align: left;
    width:750px;
    vertical-align: top;
    background-color: black;
    }
    Last edited by mex; 12 Apr 2007 at 11:29 AM.

  2. #2
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default Re: page won't change - my css overrides aren't working

    I have a new install of ZC , and i have the same problem. So my above q) isn't valid.

    q)How can i set the page to cover the whole 800px and have no margin on the left/right side from a new install of ZC?

    q) where do i add a margin to the top of page so it starts from the top?
    Last edited by mex; 12 Apr 2007 at 12:45 PM.

  3. #3
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default Re: page won't change - my css changes aren't working

    In the header file i tried to change these but nothing happens?
    I really have no idea as to wht this fails. On FF the 1st div is #mainWrapper

    I have got rid of all set margin to 0em with all these.
    <div id="headerWrapper">
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
    <ul class="back">


    Spent too long on such a small matter and it has driven me crazy.

  4. #4
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default Re: page won't change - my css changes aren't working

    I am getting really confused after i re checked my problem again. I couldn't delete previous posts.

    I have 2 templates custom and custom2.
    I have trouble in picking up changes to the custom2 dir stylesheet.css.
    It is in the correct place but seesm to fall back on the same sheet in custom dir.

    q) Why can't i pick up changes to my stylesheet in my custom2 dir. The custom2 is the template loaded so that is not the problem. The stylesheet is under a custom2 dir in the same place as custom but not in it.

  5. #5
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: page won't change - my css changes aren't working

    Please show your directory structure
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default Re: page won't change - my css changes aren't working

    Well i have this .

    /includes/templates/custom/css/stylesheet.css //it picks up this wrongly
    /includes/templates/custom/templates ...etc

    /includes/templates/custom2/css/stylesheet.css //I want this
    /includes/templates/custom2/templates etc.....


    The custom2 template is loaded under admin.

    If I delete the stylesheet from custom2 it then picks up custom styesheet and not the orginal default?

    So the override isn't working or it is confused with previous custom template
    . It will pick up stuff from custom2 if the tag isn't in custom., oddly.
    I did copy and paste all the custom dir and renamed it custom2.

  7. #7
    Join Date
    Jan 2004
    Posts
    58,460
    Blog Entries
    3
    Plugin Contributions
    111

    Default Re: page won't change - my css changes aren't working

    1. In another thread you have discussed "extreme" changes to core code in order to hack in some desired functionality. Is it possible that you've broken something?

    2. What happens if you rename your /includes/templates/custom folder to custom_HIDE and then try loading your site?

    3. Without seeing your site or your files it's very hard to tell you what's busted or why.
    What's the URL where this can be seen?
    Or at least, paste the View Source code from your home page.

    4. What's in your /includes/templates/custom/template_info.php file and in your /includes/templates/custom2/template_info.php file?




    Out of the box it works fine. Have you followed the template creation guides?

    Downloading and installing most templates from the downloads area by basically uploading the new template folder under /includes/templates is all that is usually required (apart from language-file changes etc, but you're not mentioning any language problems).

    http://tutorials.zen-cart.com/index.php?category=4
    http://www.zen-cart.com/wiki/index.p...on_-_Templates
    etc
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default Re: page won't change - my css changes aren't working

    Well i have this .

    /includes/templates/custom/css/stylesheet.css //it picks up this wrongly
    /includes/templates/custom/templates ...etc

    /includes/templates/custom2/css/stylesheet.css //I want this
    /includes/templates/custom2/templates etc.....


    The custom2 template is loaded under admin.

    If I delete the stylesheet from custom2 it then picks up custom styesheet and not the orginal default?

    So the override isn't working or it is confused with previous custom template
    . It will pick up stuff from custom2 if the tag isn't in custom., oddly.
    I did copy and paste all the custom dir and renamed it custom2.

  9. #9
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default Re: page won't change - my css changes aren't working

    Well i have this .

    /includes/templates/custom/css/stylesheet.css //it picks up this wrongly
    /includes/templates/custom/templates ...etc

    /includes/templates/custom2/css/stylesheet.css //I want this
    /includes/templates/custom2/templates etc.....


    The custom2 template is loaded under admin.

    If I delete the stylesheet from custom2 it then picks up custom styesheet and not the orginal default?

    So the override isn't working or it is confused with previous custom template
    . It will pick up stuff from custom2 if the tag isn't in custom., oddly.
    I did copy and paste all the custom dir and renamed it custom2.

  10. #10
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default Re: page won't change - my css changes aren't working

    The problem is that it is fri 13th, so things don't work as they should!

    I did alter some default tags in css which are in custom folder. I am redoing it slowly (leaving default tags and adding my own if needed).
    Also not altering default code and just adding to it or comment it out where not needed ( which isn't much at all).
    So far so good , and what i previously did probably caused problems.

 

 

Similar Threads

  1. SideBox_MoreInformation Text / Change Page_? name
    By dmishle in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 19 Feb 2007, 09:24 AM
  2. How to change the product listing page?
    By ecommercegirl in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 11 Jan 2007, 02:28 AM
  3. change page flow
    By EVerlastx1 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Oct 2006, 06:35 PM
  4. 1.3.x new stylesheet CSS and page size
    By Jiancai in forum General Questions
    Replies: 3
    Last Post: 24 Jun 2006, 06:19 AM

Bookmarks

Posting Permissions

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