WordPress.org

Ready to get started?Download WordPress

Forums

Header wont show up... (20 posts)

  1. brokeneg
    Member
    Posted 7 years ago #

    I installed my blog at http://www.brokeneggz.com/blog but no matter what template I choose the header never shows up its just blank any help?

  2. Sainty
    Member
    Posted 7 years ago #

    EDIT: eh. nvm :)

  3. nex2nun
    Member
    Posted 7 years ago #

    You have the header set to a height of 120px but you also put a padding to the top of 120px with this:


    padding: 120px 0 0 0;

    padding parameters are

    padding: top, right, bottom, left

    It may be showing up, however, it's below the padding.

    Hope this helps!
    -NEX

    EDIT: just found this too


    #header a{
    position: relative;
    top: 0px;
    left: 0px;
    margin: 0px;
    padding: 120px 0 0 0;
    width: 700px;
    display: block;
    overflow: hidden;
    background-image: url("img/eretzvaju_2.jpg");
    background-repeat: no-repeat;
    height: 0px !important;
    height /**/: 120px;
    z-index: 10;
    }

    you have #header a{ #### } wouldn't that be for links? Try just #header { ### }

  4. brokeneg
    Member
    Posted 7 years ago #

    Yea um how do I fix that?

  5. brokeneg
    Member
    Posted 7 years ago #

    I know nothing of php man your talkin jibberish to me :P

  6. nex2nun
    Member
    Posted 7 years ago #

    Access your CSS file either on your local machine or through WordPress through the Presentation -> Theme Editor option and add this for the header:


    #header {
    position: relative;
    top: 0px;
    left: 0px;
    margin: 0px;
    padding: 0;
    width: 700px;
    display: block;
    overflow: hidden;
    background-image: url("img/eretzvaju_2.jpg");
    background-repeat: no-repeat;
    height: 0px !important;
    height /**/: 120px;
    z-index: 10;
    }

    Give that a go.
    -NEX

  7. brokeneg
    Member
    Posted 7 years ago #

    Didnt work it actually removed my header

  8. nex2nun
    Member
    Posted 7 years ago #

    It didn't remove it, I think it just doesn't like that height .

    Remove this:


    height: 0px !important;
    height /**/: 120px;

    and replace it with this:


    height: 120px;

    -NEX

  9. brokeneg
    Member
    Posted 7 years ago #

    Its back now but doesnt show up still

  10. nex2nun
    Member
    Posted 7 years ago #

    You have to forgive me I can work better with CSS when I'm actually writing it,

    change this


    background-image: url("img/eretzvaju_2.jpg");

    to this:


    background-image: url(img/eretzvaju_2.jpg);

    sorry!! :(

  11. brokeneg
    Member
    Posted 7 years ago #

    eh still doesnt show up :(

  12. nex2nun
    Member
    Posted 7 years ago #

    You're almost there.. double check the url of the image is the image in the following directory?

    wp-content/themes/Black/img/eretzvaju_2.jpg

    or could it be wp-content/themes/Black/image/eretzvaju_2.jpg

    just check the actuall path to the image.

  13. brokeneg
    Member
    Posted 7 years ago #

    / home / public_html / blog / wp-content / themes / Black / images

  14. brokeneg
    Member
    Posted 7 years ago #

    /public_html/blog/wp-content/themes/Black/images/eretzvaju_2.jpg

  15. nex2nun
    Member
    Posted 7 years ago #

    then make another change

    change this:

    img/eretzvaju_2.jpg

    to this:

    images/eretzvaju_2.jpg

  16. brokeneg
    Member
    Posted 7 years ago #

    Yay it worked :D Thanks m8

  17. nex2nun
    Member
    Posted 7 years ago #

    No worries.

    Great header!

    Enjoy.
    -NEX

  18. brokeneg
    Member
    Posted 7 years ago #

    actually now my page Cannot be displayed x (

  19. brokeneg
    Member
    Posted 7 years ago #

    wait it does but it has to have a / at the end whats up with that http://www.brokeneggz.com/blog/ vs http://www.brokeneggz.com/blog

  20. nex2nun
    Member
    Posted 7 years ago #

    EDIT: Nevermind previous (I need some sleep apparently). I see your blog with the "/" and without.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.