Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / where is Stylesheet?

where is Stylesheet?

Locked

Views: 3,867

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
30 May 2006, 4:18 PM
#1
feree_m avatar

feree_m

New Zenner

Join Date:
May 2006
Posts:
12
Plugin Contributions:
0

where is Stylesheet?

Forgive me, I am new here.
I used OSCxxxxxxx before and I love what I see included in Zen.
I am trying to find my way around and could not figure out where is "File Manager" and SCC in "Admin"!!!
Does any one care to answer my stupid question?:cry:

30 May 2006, 4:55 PM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: where is Stylesheet?

Welcome to zencart forums!!
Try FAQs
Lots of info contained there..
Stylesheets for each template are contained in template folder
under /includes/templates/nameofyourtemplate/css/
HTH
:smile:

30 May 2006, 5:11 PM
#3
feree_m avatar

feree_m

New Zenner

Join Date:
May 2006
Posts:
12
Plugin Contributions:
0

Re: where is Stylesheet?

Thanks for your fast reply.
Yes it is there but is there one in "Admin" under "File Manager"?
I was not able to find "File Manager" there.
I will check the FAQ right away. I didn't know where to look.:thumbsup:

30 May 2006, 5:31 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: where is Stylesheet?

FEREE M.:

Thanks for your fast reply.
Yes it is there but is there one in "Admin" under "File Manager"?
I was not able to find "File Manager" there.
I will check the FAQ right away. I didn't know where to look.:thumbsup:Sounds to me like you're looking for stuff that doesn't exist in Zen Cart, at least not in the form you're used to. If you tell us what you want to do, rather than the route by which you expect to get there, we will be able to guide you down the right path.

30 May 2006, 6:14 PM
#5
feree_m avatar

feree_m

New Zenner

Join Date:
May 2006
Posts:
12
Plugin Contributions:
0

Re: where is Stylesheet?

Hello,
I took care of it by going to Cpanel. I changed all box headers color.
"title_back". In OsCxxxxxx there is "File Manager" in admin and you can make those changes there. I was not acquainted with Zen Cart till last night, so shoot me!:bored:

30 May 2006, 6:17 PM
#6
feree_m avatar

feree_m

New Zenner

Join Date:
May 2006
Posts:
12
Plugin Contributions:
0

Re: where is Stylesheet?

By the way, what did you think I wanted to do with SCC?

30 May 2006, 6:19 PM
#7
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: where is Stylesheet?

FEREE M.:

By the way, what did you think I wanted to do with SCC?What's SCC?

30 May 2006, 6:23 PM
#8
feree_m avatar

feree_m

New Zenner

Join Date:
May 2006
Posts:
12
Plugin Contributions:
0

Re: where is Stylesheet?

:oops: CSS!

30 May 2006, 6:39 PM
#9
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: where is Stylesheet?

FEREE M.:

:oops: CSS!And in an instant this whole thread suddenly made sense. Welcome to Zen Cart.

2 Jun 2006, 1:08 AM
#10
feree_m avatar

feree_m

New Zenner

Join Date:
May 2006
Posts:
12
Plugin Contributions:
0

Re: where is Stylesheet?

Hello, I am back!
I replaced header banner with my own. I used exact same size as the original after I uploaded my banner I noticed The bottom of my banner is chopped off!:shocking:
I also deleted Zen cart logo on the left side. The link and text sill there and I don't know how get rid of it.
I greatly appreciate your help.:down:
Wait, there is more. I added few animations which are not working, and are rotating with each page refresh. Check it out yourself! http://www.gourmetcollection.net/shop/index.php
Could some one help this poor soul?

2 Jun 2006, 2:13 AM
#11
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: where is Stylesheet?

Me thinks thou hast jumped on thine horse and ridden madly off in all directions!:D
We've all been there. I remember my excitement when I was able to find ZenCart thanks to Ajeh.
Take the time to smell the roses. Read the FAQ's, find out what the various controls in the Admin Panel can do. Start at the top of Configuration and work your way down.
Next, in Catalog, find out how easy it is to add color choices to the Baby Theme Box. Hint: when you're there, search the forum for Please Select.
Looks like you're knowledgeable in the ways of some basics but investigate the Developers Tool Kit under the Tools in Admin.
On your journey, you'll be amazed at what Zen can do.
Check out the forum and FAQ's on overrides. You'd be better off to regroup with overrides than get in the mess others of us have before you.
Your background image is chopped because of the settings for logo.gif which you have eliminated. In includes/languages/english/header.php you'll find the settings for the logo.gif under "added defines for header alt and text."
My little trick for some time now has been to put some background in header_bg.jpg to fill-in when needed and take what you used for header_bg.jpg and use it for the logo.gif. Would work great for you with the fixed store width. Also, it allows you to keep the alt text and the link.
Sorry for carrying on but, take it from me and many others, jumping in with both feet can lead to drowning.

2 Jun 2006, 7:49 AM
#12
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: where is Stylesheet?

Lots of good advice from dbltoe above which I won't repeat.

More specifically your header banner is a background image which doesn't affect the height of the table cell that contains it. The logo did affect this, but you have deleted, so the cell doesn't need as much space and has partially closed up. I'll talk about a solution to this in a moment.

The link left behind when your logo has gone is contained in a a file called includes/languages/english/header.php. You may already have a copy in includes/languages/english/YOUR_TEMPLATE_NAME/header.php file (YOUR_TEMPLATE_NAME is currently classic but see below). If not you should create one. You can then edit the following line in the new file> define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');And the animations? I'm afraid I'm not sure to which images you are referring.

OK, you have two possible solutions. Either faff about trying to get the table cell to match the height of your image. Or, take a step backwards and design as the Zen Cart development team intended you to do harnessing the power of the template_default.

As a new user you have defaulted to the classic template. This is intended primarily for backward compatibility with earlier versions of Zen Cart. I recommend replacing it with the Future Zen template which engages template_default and is the way forward, as well as being much easier for new users to work with. You can download it from the downloads section of this site, or by clicking on the link in my signature below.

At this point I would normally go on to tell you that you then need only change the values highlighted below in your stylesheet to make your header banner display properly. But in your case you don't even need to do that, since they are already set to the exact dimensions of your image> #logoWrapper {

width:760px;
height:110px;
background-image:url(../images/header_bg.jpg);
background-repeat:no-repeat;
}

2 Jun 2006, 6:32 PM
#13
feree_m avatar

feree_m

New Zenner

Join Date:
May 2006
Posts:
12
Plugin Contributions:
0

Re: where is Stylesheet?

Hello and thank you kuroi,
Let see if this dummy got it!!
>>includes/languages/english/header.php.

// added defines for header alt and text (delete 2 lines bellow).
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
define('HEADER_SALES_TEXT', 'TagLine Here');
>>>Now what about header with 192 and height 64?
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.gif');
>>>are those info for another logo?

The Footer banner is annimated as well as the mouse pad picture.
Thanks guys for helping me understand:lookaroun how this thing s work.

2 Jun 2006, 7:41 PM
#14
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: where is Stylesheet?

FEREE M.:

Hello and thank you kuroi,
Let see if this dummy got it!!
>>includes/languages/english/header.php.

// added defines for header alt and text (delete 2 lines bellow).
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
define('HEADER_SALES_TEXT', 'TagLine Here');NOOO. But you are making good progress.

Lesson two is called overrides. In principle you don't alter the files that come with Zen Cart - there are exceptions, but this is the principle. The reason is because they may be overwritten next time there's an upgrade. Instead you make a copy one level down and edit that.

Example: you want to make a change to includes/languages/english/header.php, then create a directory called includes/languages/english/YOUR_TEMPLATE_NAME. Make a copy of header.php and put it in there. Then edit that. Zen Cart is smart, it will see that you've done this and use your file instead. And next time you upgrade it will over write the original file, not the one with your changes.

Second point. Don't delete define statements. Zen Cart still needs them and if it can't find a defined value for HEADER_ALT_TEXT, it will simply output "HEADER_ALT_TEXT" on your screen for the world to see that you've screwed up. If you want to blank the text that's there, change the lines to > define('HEADER_ALT_TEXT', '');

define('HEADER_SALES_TEXT', '');(Those are two single apostrophes indicating an empty string, not double quotes)
FEREE M.:

>>>Now what about header with 192 and height 64?
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.gif');
**>>>are those info for another logo?**You may be mixing up two things here ... the logo and the header banner. The logo is an image that sits in front of the header, and the header banner is an image that sits behind it. You appear to have deleted the logo and are using the header as a logo. That's fine and not at all unusual. When you replace the text above with empty strings, it really won't matter a jot.

FEREE M.:

The Footer banner is annimated as well as the mouse pad picture.Hmmm, slowest animation I've seen recently. Haven't yet seen it change. Are yoiu refering to the way different banners are shown each time the page is refreshed?

2 Jun 2006, 8:02 PM
#15
feree_m avatar

feree_m

New Zenner

Join Date:
May 2006
Posts:
12
Plugin Contributions:
0

Re: where is Stylesheet?

Wow!
Lots of info. But I got the point. DO NOT TOUCH any thing unless you realy now what you are doing!!!!!!!!!:cry:
About animations, That is my question. It looks like only one frame has been up loaded. Refresh page few times, you will see they move around and are replaced by ZenCart pictures.
Please let me know what you think.
Regards.

2 Jun 2006, 9:24 PM
#16
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: where is Stylesheet?

FEREE M.:

DO NOT TOUCH any thing unless you realy now what you are doing!!!!!!!!!:cry:Sort of. You have to change these things, but don't change the original version, make your own copy and put it where Zen Cart expects to find it.
FEREE M.:

About animations, That is my question. It looks like only one frame has been up loaded. Refresh page few times, you will see they move around and are replaced by ZenCart pictures.What you are looking at are sidebox banners. Little advertisements that are different each the page is loaded. However, in the default version of Zen Cart you only get a few (including for Zen Cart iteself) which is why they often come up the same.[/QUOTE]