Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Site Tagline and a couple of other questions

Site Tagline and a couple of other questions

16 Apr 2010, 3:23 PM
#1
sharon72 avatar

sharon72

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Post #1 by sharon72

I have almost managed to set up my site and all the changes but am left with a couple of little questions at the end.

I have tried to change the tag at the top and bottom of my pages to say my shop name rather than the Zen Cart The Art of E Commerce. I followed the instructions in the tutorial area but now it just says TITLE, SITE_TAGLINE

// page title
define('Carry on Cropping');

// Site Tagline
define('Carry on Cropping');

Have I done something wrong?

My other question has to do with the actual page. The blue line at the top and the bottom that has HOME and NEW PRODUCTS FOR APRIL. I want to change the colour of the words but can't find where to do this.

http://www.carryoncropping.com.au/zen-cart/

Thank you for any help that you can give me. I have tried to do this on my own but am really stuck with these things.

16 Apr 2010, 3:33 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

sharon72:

I followed the instructions in the tutorial area but now it just says TITLE, SITE_TAGLINE

// page title
define('Carry on Cropping');

// Site Tagline
define('Carry on Cropping');

Have I done something wrong?
Yes, you've done something wrong.
You hacked out the value that you were defining.
Only change the stuff inside the SECOND set of quotes, not the first set.

ref: https://www.zen-cart.com/tutorials/index.php?article=95

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

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.

16 Apr 2010, 3:35 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #3 by kobra

Post the meta tag code you have altered

Find these in your stylesheet and add what is in red

#navBreadCrumb {
        color: #FFFFFF;
	background-color: #3b4b5b;
	}

.leftBoxHeading, .centerBoxHeading {
        color: #FFFFFF;
	margin: 0em;
	background-color: #3b4b5b;
	padding: 0.5em 0.2em;
	}

Zen-Venom Get Bitten

16 Apr 2010, 3:48 PM
#4
sharon72 avatar

sharon72

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Post #4 by sharon72

Thank you both so much.

:lamo: for the first problem. It makes sense now!

All fixed now and i am one step closer to having the shop up and running.

Thank you again.

16 Apr 2010, 4:19 PM
#5
sharon72 avatar

sharon72

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Post #5 by sharon72

Oh no this seems to have caused other issues.

When i try to log on to my admin site I now have the following message...

*Warning: define() expects at least 2 parameters, 1 given in /home/carryonc/public_html/zen-cart/includes/languages/english/meta_tags.php on line 11

Warning: define() expects at least 2 parameters, 1 given in /home/carryonc/public_html/zen-cart/includes/languages/english/meta_tags.php on line 14

Warning: Cannot modify header information - headers already sent by (output started at /home/carryonc/public_html/zen-cart/includes/languages/english/meta_tags.php:11) in /home/carryonc/public_html/zen-cart/admin/includes/init_includes/init_templates.php on line 36

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/carryonc/public_html/zen-cart/includes/functions/sessions.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /home/carryonc/public_html/zen-cart/includes/languages/english/meta_tags.php:11) in /home/carryonc/public_html/zen-cart/admin/includes/functions/general.php on line 21
*

I have changed my meta tags so that they are now differnt. Hopefully that will help that but I am stuck on the last bit which seems related to the second part of my OP.

16 Apr 2010, 4:46 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

Lines 11 and 14 of the meta_tags.php file mentioned in the error messages are where you've still got bad edits.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

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.

16 Apr 2010, 5:30 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #7 by kobra

What editor are you using to edit your files with?

Zen-Venom Get Bitten

16 Apr 2010, 5:55 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #8 by drbyte

kobra:

What editor are you using to edit your files with?
kobra, it's not her editor that's causing the problems. It's that she's deleting the constants from the define() statements.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

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.

17 Apr 2010, 3:12 AM
#9
sharon72 avatar

sharon72

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Post #9 by sharon72

Thanks again.

I did actually fix up the constants last night and the tags did change but it was still coming up withthe error. This morning I tried again and it seemed to work.

Thanks again for your help now I can keep on going.

14 Jul 2011, 10:22 PM
#10
sickseeds avatar

sickseeds

New Zenner

Join Date:
Jul 2011
Location:
Belfast
Posts:
1
Plugin Contributions:
0

Post #10 by sickseeds

Hi I was reading this thread and was just wondering if theres an easy way to change a tagline background colour from white to black ??? I've already deleted my tagline text and just need the colour of the tagline itself changed. im new to zen cart and php etc . This is also my first post on this site ever. I dont know how the colours white or black look as a code and it would be great if somebody could me how to locate, identify and change a tagline from white to black ????

All response or help is greatly appreciated as this is frying my head .. :cry:

15 Jul 2011, 12:00 AM
#11
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Post #11 by rstevenson

The tagline DIV is contained within a taglineWrapper DIV, so one or the other of these will do what you want. Add one of them down at the bottom of your working stylesheet.css file.

#tagline { background-color: black; }
... or...
#taglineWrapper { background-color: black; }

Rob

Breakfast: the most important donut of the day.