PDA

View Full Version : Alignment of Text in Header



The Exposure Strategist™
07-20-2010, 03:19 AM
Hi,
I want to left align the text in my header. However I would like to move it to the right of the default left alignment by around 5mm (approx .2 of an inch)

I've had a look at the Header.php script and I can't see where it says how far to indent the left aligned header text. I'd have a play if I could see where you would change the indentation of the aligned placements.

I'd appreciate the help of anyone who knows how to do this.

Regards, Fiona :-)

Dan Nickerson
07-28-2010, 03:07 PM
Look for this code in header.php


.titleText {color:#<?php echo $header['hColor']; ?>; margin:20px 0px 0px}
.titleText h1 {color:#<?php echo $header['hColor']; ?>;}
.titleText a {color:#<?php echo $header['hColor']; ?>; margin:20px 0px 0px}
.titleText a:hover {color:#<?php echo $header['hColor']; ?>;}

To Move right change the first 0px in both lines

The Exposure Strategist™
07-28-2010, 05:16 PM
Hi Dan and thanks so much for your assistance.

Would you mind answering a related question please?

I purposely did not have my graphic designer put the text onto the header graphic because I thought using Socrates to generate the Name and Tagline of the Wordpress site may result in a Meta Tag being created. And so gain another SEO brownie point.

Is this the case? Or is it much of a muchness whether you create a graphic with the text included in it for the header or get Socrates to generate the text on your header graphic?

I'm very curious!!

Fiona :-)

Dan Nickerson
07-28-2010, 05:21 PM
Read this thread...

http://www.socratestheme.com/forum/showthread.php?t=165