Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2007
    Posts
    4
    Plugin Contributions
    0

    Default Change Image, PHP File or Style Sheet?

    Hi All,

    I just installed Zen-cart on a Windows server running Abyss Web server and it works very well. Well done to those who have a hand in it.

    I have done some site work in the past and installed and maintain a CMS site for a local community radio station so I can hold my own for the most part but am no pro for sure. I have a few questions that I have searched for but cannot find the answer to.

    1) Changing the tile_back.gif image to match my site a little better works except below all the left and right side boxes I.E. categories, search, etc (which remain green). Is this green bottom border also an image and if so where is it? Or, is this part of the style sheet and if so where exactly should I be looking to change the color?

    2) The text links in the categories box also remain green. Where should I be looking to change this color?

    3) The original image header_bg.jpg has a grey horizontal bottom border in it as does my modified one which is simply a hacked version of the original. This lower border however does not show up in any browser using either the original image or my modified one. Any idea why this may be or is it by design?

    4) The built in text editor does not seem to behave. This is minor but I was wondering if anyone else has noticed this? The font sizes do not relate to what is actually displayed.

    Thanks in advance,

    Jim

  2. #2
    Join Date
    Mar 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Change Image, PHP File or Style Sheet?

    do you have a link we can get to? or what template you are using?
    Lazy and willing to work very hard to stay that way

  3. #3
    Join Date
    Apr 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Change Image, PHP File or Style Sheet?

    I am using the "classic contemporary green" template that was installed by default.

    Jim

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

    Default Re: Change Image, PHP File or Style Sheet?

    yes, its coming from the border settings

    .leftBoxContainer, .rightBoxContainer {
    margin: 0em;
    border: 1px solid #9a9a9a;
    border-bottom: 5px solid #336633;
    margin-top: 1.5em;
    }

    if you change it to

    .leftBoxContainer, .rightBoxContainer {
    margin: 0em;
    margin-top: 1.5em;
    }
    it will go away...however I would not recommend messing with the stuff in the /classic folder, make a new folder in your /includes/templates directory and play with it over there or you will loose everything the next time you upgrade
    Lazy and willing to work very hard to stay that way

  5. #5
    Join Date
    Apr 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Change Image, PHP File or Style Sheet?

    I just "googled" #336633 and that seems to be the color alright.I'll try it out in the morning.

    Any idea on the text links or the grey bottom border on the header?

    Thanks,

    Jim

  6. #6
    Join Date
    Mar 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Change Image, PHP File or Style Sheet?

    grab a copy of firefox and get the firebug and web developer plug ins. Highlight the section you want to play with and it will tell you the class or ID you are looking for. it'll even let you play with the values on the fly, make it as wild as you want with out editing the 'real' code
    Lazy and willing to work very hard to stay that way

  7. #7
    Join Date
    Mar 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Change Image, PHP File or Style Sheet?

    I'm not sure what your talking about with the grey border at the bottom of the header, if you removed the green background image on the eznav bar, then the color is coming from

    #navEZPagesTop {stylesheet.css (line 327)
    background-color:#ABBBD3; <---HERE

    background-image:url(../images/tile_back.gif);
    font-size:0.95em;
    font-weight:bold;
    margin:0em;
    padding:0.5em;
    }
    delete the line and it will be white if you've removed the tile_back.gif already

    all the links that I can see are coming from

    a:link, #navEZPagesTOC ul li a {
    color: #3300FF;
    text-decoration: none;
    }

    a:visited {
    color: #3300FF;
    text-decoration: none;
    }

    a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
    color: #FF0000;
    }

    a:active {
    color: #0000FF;
    }

    mind you if you change it here to be white or something, it will change it EVERYWHERE on the page, so you'll need some code or you'll loose the colors on the pages with white backgrounds as well......



    Lazy and willing to work very hard to stay that way

  8. #8
    Join Date
    Apr 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Change Image, PHP File or Style Sheet?

    If you open up the stock image for tile_back.gif you will see what I mean. The image has about a 20px wide grey line on the bottom of it. It just does not show up for some reason and never has.

    When I customized it I used fireworks to cut out the parts I didn't want but left the grey line. I saved it as tile_back.gif and uploaded it and to no surprise it STILL did not display. I guess I am asking how it could not show up since it is in the image itself and is not coded. Unless that is there is another white line that is covering it, like the zen logo covers the tile_back image in the upper left for example.

    As for the links, only the categories links are green (red on hover). The rest are blue/red which is fine. My site is gery-ish so the green is a bit icky but blue/red would be good.

    The FF plugin is a neat idea but I thought that did not work on the new version. I'll give it a go anyway.

    Thanks,

    Jim

 

 

Similar Threads

  1. HOW-TO: Image Preparation
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 296
    Last Post: 3 Jul 2012, 10:10 AM
  2. URGENT - Orders not Posting /Session expiration notice?
    By coastalfog in forum Managing Customers and Orders
    Replies: 11
    Last Post: 15 Jan 2007, 04:58 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
  •