Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing text colour and logo size please

Changing text colour and logo size please

Locked

Views: 2,887

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
4 Jun 2008, 2:33 PM
#1
snowy2008 avatar

snowy2008

New Zenner

Join Date:
May 2008
Posts:
34
Plugin Contributions:
0

Changing text colour and logo size please

Hi. I have two questions and wondered if anyone would be so kind as to help out:

  1. Where do I change the colour (and possibly font/size) of the categories in the "Categories" box on the left.

  2. At the top of the page are the header_bg and logo images. I have successfully changed the header_bg to my own - I have also made the logo blank as I have incorporated my logo into header_bg. I would like to know how to resize the "blank logo" and move it so that the bounding box covers the "logo" incorporated into my header_bg.

Many thanks in advance.

EDIT: Third question : How do I change the "Zen Cart! - THe art of e commerce" message that appears in the browsers title bar?

4 Jun 2008, 3:22 PM
#2
snowy2008 avatar

snowy2008

New Zenner

Join Date:
May 2008
Posts:
34
Plugin Contributions:
0

Re: Changing text colour and logo size please

As an edit to my previous post : I have solved question 3 about the browser bar text by looking through the FAQ's.

I do have another question now though :) At the bottom of my page is an animated gif banner advertsing Zen - how do I change or remove it please??

4 Jun 2008, 3:39 PM
#3
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Changing text colour and logo size please

admin->tools->banner manager and turn of the banners you don't want. You can also add banners you do want.

4 Jun 2008, 5:07 PM
#4
snowy2008 avatar

snowy2008

New Zenner

Join Date:
May 2008
Posts:
34
Plugin Contributions:
0

Re: Changing text colour and logo size please

afo:

admin->tools->banner manager and turn of the banners you don't want. You can also add banners you do want.

Thanks for that Afo! Much appreciated. Any ideas on my other two questions please?

Cheers,
Simon.

4 Jun 2008, 6:12 PM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Changing text colour and logo size please

  1. includes/templates/YOUR_TEMPLATE/css/stylesheet.css (where YOUR_TEMPLATE is the name of your custom template). If you get the Firefox browser with the web developer addon (or Firebug), you'll be able to tinker with the stylesheet and see the effect on the fly. You'll have to save your changes separately and FTP the changed stylesheet to your site to get it to take effect.

  2. In includes/languages/english/YOUR_TEMPLATE/header.php, change the information I highlighted in red to the name of the "blank logo" and the size.

// added defines for header alt and text
  define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
  define('HEADER_SALES_TEXT', 'TagLine Here');
  define('HEADER_LOGO_WIDTH', '192px');
  define('HEADER_LOGO_HEIGHT', '64px');
  define('HEADER_LOGO_IMAGE', ' logo.gif');
  1. https://www.zen-cart.com/tutorials/index.php?article=17
5 Jun 2008, 7:39 AM
#6
snowy2008 avatar

snowy2008

New Zenner

Join Date:
May 2008
Posts:
34
Plugin Contributions:
0

Re: Changing text colour and logo size please

afo:

  1. includes/templates/YOUR_TEMPLATE/css/stylesheet.css (where YOUR_TEMPLATE is the name of your custom template). If you get the Firefox browser with the web developer addon (or Firebug), you'll be able to tinker with the stylesheet and see the effect on the fly. You'll have to save your changes separately and FTP the changed stylesheet to your site to get it to take effect.

  2. In includes/languages/english/YOUR_TEMPLATE/header.php, change the information I highlighted in red to the name of the "blank logo" and the size.

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
define('HEADER_SALES_TEXT', 'TagLine Here');
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', ' logo.gif');

> 
> 3. [https://www.zen-cart.com/tutorials/index.php?article=17](https://www.zen-cart.com/tutorials/index.php?article=17)

Thanks again for that!  That Firefox developer add-on is *superb* !!  Category colours now duly changed :)
29 Aug 2008, 9:46 PM
#7
bwtone avatar

bwtone

New Zenner

Join Date:
Jul 2008
Posts:
5
Plugin Contributions:
0

Re: Changing text colour and logo size please

afo:

  1. includes/templates/YOUR_TEMPLATE/css/stylesheet.css (where YOUR_TEMPLATE is the name of your custom template). If you get the Firefox browser with the web developer addon (or Firebug), you'll be able to tinker with the stylesheet and see the effect on the fly. You'll have to save your changes separately and FTP the changed stylesheet to your site to get it to take effect.

  2. In includes/languages/english/YOUR_TEMPLATE/header.php, change the information I highlighted in red to the name of the "blank logo" and the size.

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
define('HEADER_SALES_TEXT', 'TagLine Here');
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', ' logo.gif');

> 
> 3. [https://www.zen-cart.com/tutorials/index.php?article=17](https://www.zen-cart.com/tutorials/index.php?article=17)

Hi all,
I would like to change the colour of the "define('HEADER_SALES_TEXT','<h2>TagLine Here</h2>');"
'tagline here' has been changed to suit our shop, but it's in black!
I'm sure this is just a matter of coding the php correctly but I cannot get that line to accept a color keyword.
can anybody tell me how to do this please.
30 Aug 2008, 1:56 AM
#8
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,617
Plugin Contributions:
0

Re: Changing text colour and logo size please

You don't need to touch the php to change the color - use the CSS - try changing #tagline.

3 Sep 2008, 9:40 PM
#9
majoritywhip avatar

majoritywhip

New Zenner

Join Date:
Jul 2008
Location:
San Francisco
Posts:
63
Plugin Contributions:
0

Re: Changing text colour and logo size please

I don't have a header.php in my template folder, only english.php under the languages/English folder. I changed the information but know I'm not getting my logo.

I placed my logo in the appropriate place and still nothing

4 Sep 2008, 3:54 AM
#10
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Changing text colour and logo size please

majoritywhip:

I don't have a header.php in my template folder, only english.php under the languages/English folder. I changed the information but know I'm not getting my logo.

I placed my logo in the appropriate place and still nothing

Then copy includes/languages/english/header.php to includes/languages/english/YOUR_TEMPLATE/header.php and make your changes there. Use a good text editor to make the changes and FTP client to upload to your site.