Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • fhntoday Friend
    #143345

    I am creating a site for my school newspaper and inserted the name of our school into the HTML in the header to help our SEO. After I did this I changed the color of the text and made the background black so that it matches the rest of the site. There is however a white bar above that text that I added that I would like to get rid of. I thought that it might just be some padding somewhere in the css but cant find it.

    The HTML in the header where I added the text

    <blockquote><!– BEGIN: HEADER –>
    <div style=”background-color:black”>
    <font color=”#FFFFFF” face=”Tahoma, Arial, Verdana, sans-serif”>
    <p>FRANCIS HOWELL NORTH HIGH SCHOOL – SAINT CHARLES, MO 63303</p>
    </font>

    <div id=”ja-headerwrap”>
    <div id=”ja-header” class=”clearfix”>

    <h1>
    <a href=”index.php”>
    <?php echo $tmpTools->sitename();?>
    </a>
    </h1>
    </div>
    </div></div>
    <!– END: HEADER –></blockquote>

    Just above the text that I added there is a white box. The url to see the problem is http://test.fhntoday.com/

    If anyone can help me out with getting rid of that white space that would be great.

    Thank you

    Arvind Chauhan Moderator
    #313762

    Hi fhntoday,

    I tried looking at your problem, although can not provide best solution to you, may be you can try the following to minimize the odd line :

    Open your template_css.css Line 103.

    Change :

    [PHP]margin:10px 0;padding:0;}[/PHP]

    to:

    [PHP]margin:0 0;padding:0;}[/PHP]

    Just give it a try and let us know.

    regards

    Arvind

    fhntoday Friend
    #313766

    That does not show up for me on line 103. Could you give a larger example of what should be above or below it, so that I can find the correct area that you are talking about?

    Thanks for your help.

    Arvind Chauhan Moderator
    #313768

    Hi,

    Open your template_css.css on line 103

    Change :
    [php]p, pre, blockquote, ul, ol, h1, h2, h3, h4, h5, h6 {
    margin: 10px 0;
    padding: 0;
    }[/php]To :

    [php]p, pre, blockquote, ul, ol, h1, h2, h3, h4, h5, h6 {
    margin: 0px 0;
    padding: 0;
    }[/php]

    Also check if this change in code affects any other part of your template.

    fhntoday Friend
    #313774

    Thank you that got rid of almost the whole line, and it remains the same through the whole template without changing anything else.

    Thank you again.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  fhntoday 15 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum