Forums / Templates, Stylesheets, Page Layout / Help with adding an apostrophe to the site tagline

Help with adding an apostrophe to the site tagline

Started by rescoccc on 5 Jul 2011, 6:17 PM · Views: 789

Results 1 to 3 of 3
5 Jul 2011, 6:17 PM
#1
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Help with adding an apostrophe to the site tagline

This is what I want to appear:

Welcome to Mama C's
Where magic, the New Age, and pop culture collide

Right now it appears without the apostrophe, and this is how I have it coded:

define('HEADER_SALES_TEXT', 'Welcome to Mama Cs<br /><i><font size="4">Where magic, the New Age, and pop culture collide</font></i>');

Now, I know I can add ' like this: Mama C's, and that works. The problem is that when I do it, the second line vanishes. Any ideas?

The best way to learn is to try stuff. But, back it up first.

5 Jul 2011, 6:28 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Help with adding an apostrophe to the site tagline

Maybe try using & # 3 9 ; (without spaces)
Ref: http://www.w3schools.com/tags/ref_entities.asp

.
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.

5 Jul 2011, 7:59 PM
#3
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Help with adding an apostrophe to the site tagline

That worked. Thanks, Byte!

The best way to learn is to try stuff. But, back it up first.