logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$5
Wordpress Header Help

Hi, I have what I think is a simple problem, but after messing for ages I just can't get it to move. I have a header image above the 'Nav Bar'. There is a small gap between the header and nav bar but I actually want my header image to sit on top of the nav bar so there is no gap.

Can anyone help me?

The site is at: http://4ginter.net/demosite/

This question has been answered.

gareth7o9 | 02/07/13 at 10:29pm Edit
Tutorial: How to assign prize money


(5) Responses

See a threaded view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    02/07/13
    10:36pm
    Marko Nikolic says:

    Hey,

    Add this in your style.css :


    #branding img {

    float: left;

    }


    That should solve the problem.

  • avatar
    Last edited:
    02/07/13
    10:40pm
    Abdelhadi Touil says:

    Try adding this to your style:

    hgroup a {
    display: block;
    height: 80px;
    }


    Or you can make the image height equal to 80px, example:

    hgroup img {
    display: block;
    height: 80px;
    }


    Previous versions of this answer: 02/07/13 at 10:40pm

  • avatar
    Last edited:
    02/07/13
    10:40pm
    Kyle says:

    Here ya go, add this to your style.css file:

    #branding hgroup{
    line-height: 0 !important;
    }

  • avatar
    Last edited:
    02/07/13
    10:47pm
    Abdelhadi Touil says:

    Or you can do just like ktrusak said, so you change this:

    #branding hgroup { 
    margin: 0px;
    }


    to this:

    #branding hgroup { 
    margin: 0px;
    line-height: 0;
    }


    I think it will work without !important tag.
    Good luck.

  • avatar
    Last edited:
    02/07/13
    10:55pm
    gareth7o9 says:

    Thank you! :)

This question has expired.



Gabriel Reguly, Christianto, Arnav Joy, gareth7o9, Naveen Chand voted on this question.



Current status of this question: Completed



Please log in to add additional discourse to this page.





Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.