Support » Themes and Templates » Tiga header – how to get rid of the gap at top?

  • Okay… I had fixed this once, but a colleague undid it making some other changes and we can’t figure out how to restore it.

    In the Tiga theme, there is a gap between the very top of the page and the header image. Presumably this is a padding issue, but the code below seems fine…

    body {
    background-color:<?php tiga_bodyBgColor(); ?>;
    font-family:<?php tiga_getValue(‘bodyFontFamily’); ?>;
    margin-top: 0px;
    .page {
    max-width:<?php tiga_getValue(‘maxWidth’); ?>;
    min-width:<?php tiga_getValue(‘minWidth’); ?>;
    <?php tiga_minMaxWidthIeHack(); ?>
    margin-top: 0;
    padding: 0;

    .header {
    border-color:<?php tiga_headerBorderColor(); ?>;
    background-color:<?php tiga_headerBgColor(); ?>;
    height:<?php tiga_headerHeight(); ?>px;
    <?php tiga_bgImage(‘header’); ?>
    margin: 0px 0px 2px 0px;
    border-width: 0px;
    padding-top: 0px;
    padding-left: 5px;

    This is a bit frustrating… (the colleague is not allowed to touch the code any longer!)

    Hope someone can help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Under “body” the padding:20px; is saying that there’s padding of 20px all round. Try changing it to padding:0 20px 20px; (which says that the padding is 20px except at the top, where there’s no padding).

    I can’t promise this will fix it, but it seems likely that it will.

    Unfortunately, no change when I tried that. Must be set somewhere else in the code. Hope someone can help!


    (here’s the site: )

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tiga header – how to get rid of the gap at top?’ is closed to new replies.