If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Sales message, line by line styling

Sales message, line by line styling

Started by line1 on 22 Oct 2012, 6:00 PM · Views: 596

Results 1 to 4 of 4
22 Oct 2012, 6:00 PM
#1
line1 avatar

line1

New Zenner

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

Post #1 by line1

I have changed a sales message text, and added breaks, so now there are 3 lines.
Something like:

The description of the gadget.
Address.
Phone.

I would like to make the first line larger font and bold, and the other 2 lines - smaller font and regular weight.
I probably should add some inline styling, like <strong></>.
Or may be to assign an ID to the first line and then to other 2 and add styling into the css?
If yes, where should it be done?
I used Developer's tool, but it gives out only one file, which is "header.php", and I don't think it is the file where those additions can be made. or is it the one?
Thank you.

22 Oct 2012, 6:11 PM
#2
kobra avatar

kobra

Black Belt

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

Post #2 by kobra

Add inline styling to header.php for the define('HEADER_SALES_TEXT',

Zen-Venom Get Bitten

22 Oct 2012, 6:28 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #3 by gjh42

In that define, you can just give each part of the message <span> tags with an id or class, and then do detailed styling of those ids/classes in your stylesheet.

22 Oct 2012, 8:11 PM
#4
line1 avatar

line1

New Zenner

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

Post #4 by line1

Thank you!
Works great.