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 / NewB - How do I change the color of the Sales Message ?

NewB - How do I change the color of the Sales Message ?

Locked

Started by twbeebe on 8 Sep 2008, 8:47 PM · Views: 1,003

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
8 Sep 2008, 8:47 PM
#1
twbeebe avatar

twbeebe

New Zenner

Join Date:
Jun 2006
Location:
Penryn, CA. USA
Posts:
65
Plugin Contributions:
0

Post #1 by twbeebe

I have been trying to find the help on my own by searching through the forum(s) using various forms of keywords, BUT, I receive a multitude of thread links that take me off in a hundred directions, when I simply need some basic information. I do enjoy following Contrib threads to get 'The Total Picture' of the cause and solutions relating to it, but sometimes you just need.. a simple answer ?

Part two. Does the Zen Book give all of the details, like my question above ? The hours that I have spent trying to find the answer on my own would have paid for the book, at this point. Or, should I just sign up for some simple PHP programming to get THOSE basics out of the way ?

Thanks to everyone for their contributions and their hard work. I hope to be able to make a contrib to the project soon.

Toby White-Beebe
[email protected]
The old website --> http://www.BetterThanNaked.net

8 Sep 2008, 8:53 PM
#2
kobra avatar

kobra

Black Belt

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

Post #2 by kobra

Always do your design in a standards compliant browser and for now that is Firefox also get the web developers extention for it.

It will assist you in defining what things are

Color - find in your stylesheet.css file "tagline" and add a color statement to it

Zen-Venom Get Bitten

8 Sep 2008, 9:21 PM
#3
twbeebe avatar

twbeebe

New Zenner

Join Date:
Jun 2006
Location:
Penryn, CA. USA
Posts:
65
Plugin Contributions:
0

Post #3 by twbeebe

Thank you Kobra for your reply. I did find the statement in the style sheet and made the change I wanted.. but, it appears that the Sales Message only wants to be a single line ?

My intent was to have all of the text in the following statement to be a dark green color:#006600; but, with my statement looking like this;

define('HEADER_SALES_TEXT', 'Welcome To The New..<br><h1>Better Than Naked dot Net</h1>');

It only colors the top half, like <h1> blocks the attributes ? When I remove the <h1></h1> attributes, I get the line wrap, but still only in it's silver grey text ? If I remove the carriage return <br> in the statement, I get my wanted color back, but only in a single font size, on a straight line ?

Please assist.

Toby White-Beebe
[email protected]
The old website --> http://www.BetterThanNaked.net

8 Sep 2008, 10:39 PM
#4
Kim avatar

Kim

Obaa-san

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

Post #4 by Kim

Add the h1 to the CSS declaration, e.g tagline h1 {} You can then style it.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

8 Sep 2008, 11:40 PM
#5
twbeebe avatar

twbeebe

New Zenner

Join Date:
Jun 2006
Location:
Penryn, CA. USA
Posts:
65
Plugin Contributions:
0

Post #5 by twbeebe

Hello Kim and thank your for responding. I am not able to guess your implication of where and how to put the H1{} factor into play ? I did find within the CSS, a command called "font-weight: bold;", which has at least, thickened up the text. Suggestions where I can find the 'trick' features for coding all ? I have had some extensive HTML workings, which has allowed me to do some features, but PHP and of course, CSS are different in a lot of ways. I am liking the stylesheets more and more.

I do have Crimson Editor, and FireFox, w/o add-ons, but maybe I should look at that some more ?

Thanks again.

Toby White-Beebe
[email protected]
The old website --> http://www.BetterThanNaked.net

9 Sep 2008, 3:48 AM
#6
afo avatar

afo

Totally Zenned

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

Post #6 by afo

http://www.w3schools.com/ has lots of good info on css which will probably answer some of your questions.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

9 Sep 2008, 7:43 AM
#7
twbeebe avatar

twbeebe

New Zenner

Join Date:
Jun 2006
Location:
Penryn, CA. USA
Posts:
65
Plugin Contributions:
0

Post #7 by twbeebe

Thank you for responding 'Afo'... Yes, I can see that I will find a lot of useable things out of the website, just no quick answers like we always hope for :D

Toby White-Beebe
[email protected]
The old website --> http://www.BetterThanNaked.net