-   Linux - Software (
-   -   PHP coding question (

kaplan71 03-31-2011 11:08 AM

PHP coding question
Hi there --

I am working on a website, and part of the process is my setting up the text to appear properly on the page. The text that I am working on is shown in the code below:


<h1 id="name-text" class="art-Logo-name"><a href="<?php echo $baseUrl; ?>/">Massachusetts General Hospital - Radiation Oncology</a></h1>
 <div id="slogan-text" class="art-Logo-text">Radtrials Website</div>

I need to reduce the size of the h1 code while preserving its color, which in this case is white. At the same time, I want to increase the size of the slogan-text while also keeping its color white.

What would the correct syntax be to accomplish both items?


Snark1994 03-31-2011 11:44 AM

Unless I'm misunderstanding you, then it's nothing to do with PHP :) you need to edit the CSS. My guess is if you look in your CSS file you will find text to the effect of:


.art-Logo-name {
    /* blah blah blah */

.art-Logo-text {
    /* bleh bleh bleh */

Changing the first will edit the h1's appearance (see, it says 'class="art-Logo-name") and the second will change the slogan-text :)

Hope this helps,

kaplan71 03-31-2011 12:09 PM

Hi there --

Thanks for your reply. Your advise definitely helped. It also showed how much I knew. Anyway, I did modify the CSS, and the text changes were successful.

All times are GMT -5. The time now is 08:44 AM.