• hello-
    I have the corporatev2 theme and am trying to add a 950 125 image as the header but I do not think there is any ref to a header image as its all fff .
    from the header php I see this only:

    <div class=”clearfloat”>
    <div id=”header” onclick=”location.href=’https://www.example.com/&#8217;;” style=”cursor: pointer;”>
    <div class=”mainheader”>/”><?php bloginfo(‘name’); ?></div>
    <div class=”description”><?php bloginfo(‘description’); ?></div>
    <div class=”linebreak”></div>
    </div>

    Where can I go to add a reference for the header and what would I add?
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Site url?

    Thread Starter expertsiq

    (@expertsiq)


    Thanks!!!

    Thread Starter expertsiq

    (@expertsiq)

    Upload your image (I’m assuming it will be called ‘header.jpg) to wp-content/themes/corporate-theme-v2/images. Then, in style.css, change:

    #header {
    background:#FFFFFF;
    margin:0 auto;
    padding:10px 0;
    text-align:left;
    width:950px;
    }

    to

    #header {
    background:#fff url(images/header.jpg) left top no-repeat;
    height:125px;
    margin:0 auto;
    padding:10px 0;
    text-align:left;
    width:950px;
    }

    If you then want to remove the header text, amend:

    .mainheader {
    color:#333333;
    font-family:Times New Roman,Verdana,Arial,Sans-Serif;
    font-size:24px;
    font-weight:normal;
    margin:0;
    padding:0;
    }

    to

    .mainheader {
    color:#333333;
    font-family:'Times New Roman',Verdana,Arial,sans-serif;
    font-size:24px;
    font-weight:normal;
    margin:0;
    padding:0;
    position:absolute;
    top:-5000px;
    left:-5000px;
    }

    This will take the header text off the screen in graphical browsers but leave the text available for the search engines.

    Thread Starter expertsiq

    (@expertsiq)

    Thanks I will try tonight!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add image in header question (different)’ is closed to new replies.