Forums / Templates, Stylesheets, Page Layout / Change Image, PHP File or Style Sheet?

Change Image, PHP File or Style Sheet?

Locked

Started by jimi_l on 9 Apr 2007, 9:38 PM · Views: 2,091

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
9 Apr 2007, 9:38 PM
#1
jimi_l avatar

jimi_l

New Zenner

Join Date:
Apr 2007
Posts:
4
Plugin Contributions:
0

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

9 Apr 2007, 10:01 PM
#2
tmc_sherpa avatar

tmc_sherpa

Zen Follower

Join Date:
Mar 2007
Posts:
158
Plugin Contributions:
0

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

9 Apr 2007, 10:07 PM
#3
jimi_l avatar

jimi_l

New Zenner

Join Date:
Apr 2007
Posts:
4
Plugin Contributions:
0

Re: Change Image, PHP File or Style Sheet?

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

Jim

9 Apr 2007, 11:07 PM
#4
tmc_sherpa avatar

tmc_sherpa

Zen Follower

Join Date:
Mar 2007
Posts:
158
Plugin Contributions:
0

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

10 Apr 2007, 12:13 AM
#5
jimi_l avatar

jimi_l

New Zenner

Join Date:
Apr 2007
Posts:
4
Plugin Contributions:
0

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

10 Apr 2007, 2:56 AM
#6
tmc_sherpa avatar

tmc_sherpa

Zen Follower

Join Date:
Mar 2007
Posts:
158
Plugin Contributions:
0

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

10 Apr 2007, 3:25 AM
#7
tmc_sherpa avatar

tmc_sherpa

Zen Follower

Join Date:
Mar 2007
Posts:
158
Plugin Contributions:
0

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

10 Apr 2007, 8:17 AM
#8
jimi_l avatar

jimi_l

New Zenner

Join Date:
Apr 2007
Posts:
4
Plugin Contributions:
0

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