PDA

View Full Version : Text In Header


helmer.co
05-12-2014, 09:21 PM
I found the following code in another thread. The question I have is how to change the color of the text to white and increase the font size. Could somebody please add the code and repost it please.

<div class="above_body"> <!-- closing tag is in template navbar --> <div id="header" class="floatcontainer doc_header">
<vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><table> <tr> <td> <img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /> </td> <td> <div class="header_text">TEXT TO DISPLAY IN HEADER</div> </td> </tr> </table></a></div></vb:if></vb:if>

Thanks,

John

tbworld
05-12-2014, 09:29 PM
I found the following code in another thread. The question I have is how to change the color of the text to white and increase the font size. Could somebody please add the code and repost it please.


<div class="above_body"> <!-- closing tag is in template navbar --> <div id="header" class="floatcontainer doc_header">
<vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><table> <tr> <td> <img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /> </td> <td> <div class="header_text">TEXT TO DISPLAY IN HEADER</div> </td> </tr> </table></a></div></vb:if></vb:if>



Add this to the bottom of your 'additional.css' template in your style.

header_text {
color: white;
font-size: 32px; /* Change the font size accordingly */
}

helmer.co
05-12-2014, 10:40 PM
tbworld,

Thank you for the reply. I went to additional.css "which was empty?" and added your code and nothing happened. Any thoughts on what I may have done wrong?

--------------- Added 1399940436 at 1399940436 ---------------

Fixed it! It has to be as follows;

.header_text {
color: white;
font-size: 32px; /* Change the font size accordingly */
}

Thanks again,


John