WordPress.org

Ready to get started?Download WordPress

Forums

Been trying for hours header problem. (16 posts)

  1. Jayoel
    Member
    Posted 8 years ago #

    my site site is http://www.footballmanagerradio.com
    I want to change the header to this http://www.footballmanagerradio.com/wp-content/themes/k2/styles/vader/mustafar.jpg
    I look at all the guides and I dont know how.
    Aslo how do you change blog to home.

  2. Jayoel
    Member
    Posted 8 years ago #

    plz can anyone help as i have a deadline for the site

  3. Ennis
    Member
    Posted 8 years ago #

    in your themes .css it should call a header image in the header tag...Just change the url to point to the other image you want to display.

  4. fht
    Member
    Posted 8 years ago #

    *hehe*, and you really think people will help you any faster if you get impatient? =:-)

    Anyway - it took me about 25 Minutes to read your question, look for the original template and "find" the solution:

    open index.php in your theme's directory and look for
    /* BEGIN IMAGE CSS / - this should be around line 15-20 - and edit it to fit your needs.

    Regards,

    -- FHT

  5. Jayoel
    Member
    Posted 8 years ago #

    This is whats in my index.php

    <?php get_header(); ?>

    <div class="primary">

    <?php include (TEMPLATEPATH . '/theloop.php'); ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

  6. vkaryl
    Member
    Posted 8 years ago #

    Look in header.php - sometimes that sort of thing is stuffed into inline css (ugh) in the header file....

  7. Jayoel
    Member
    Posted 8 years ago #

    i cant find it in header.php

  8. fht
    Member
    Posted 8 years ago #

    Although I use another Theme I did it by adding

    #header {
    background:#fff url(img/rap.jpg) center repeat-y;
    width:760px;
    margin:0 auto;
    }

    to the HEADER-section in the file style.css as Ennis already said above.

    Maybe this one works for you (don't forget to alter the filename and location!)?

  9. Jayoel
    Member
    Posted 8 years ago #

    I get this
    /* BEGIN IMAGE CSS /http://www.footballmanagerradio.com/wp-content/themes/k2/styles/vader/mustafar.jpg
    Right under the blue header

  10. Ennis
    Member
    Posted 8 years ago #

    Its because its not inclosed in any tags. Either remove it from the header.php file or the index.php or the .css file, or enclose it in tags so it works.

  11. Jayoel
    Member
    Posted 8 years ago #

    how do you enclose it in tags

  12. fht
    Member
    Posted 8 years ago #

    just leave the header.php "alone" (remove the changes!) and go to the header-section in your stylesheet and paste the code I gave you above. Don't forget to put the correct values there (especially image-size, -path, -name)

    Worst that can happen is that it doesn't work :)

  13. Ennis
    Member
    Posted 8 years ago #

    usually an image is enclosed like the following
    <img src=http://www.footballmanagerradio.com/wp-content/themes/k2/styles/vader/mustafar.jpg />

    with quotes (") placed after the equals sign (src=") and after the extension .jpg (.jpg"). I never put them in the above tag cause it would place that image in this reply. :P

  14. nearlythere
    Member
    Posted 8 years ago #

    @ jayoel,

    i would recommend getting the original default theme (K2), which has an image in it already and starting fresh! the custom theme you are using (vader, a variant of kubrick) has no img in it.

    so go with the default kubrick theme. in it, they separate out the header img reference in a file located in a place like:
    wp-content/themes/k2/styles/light.css

    and you will be able to find the CSS at:
    http://footballmanagerradio.com/wp-content/themes/k2/styles/light.css

    and it is controlled with this in the light.css:

    #header {
    background: url('/wp-content/themes/k2/invader/logo.png') center center no-repeat !important;
    }

    search in the light.css and look for the URL to the img for the header, and change it to where your image is.

    here is more info on this:
    http://codex.wordpress.org/Designing_Headers#Changing_the_Header_Image

    ps- you probably noticed this, but you misspelled 'forum'

    best of luck.

  15. Jayoel
    Member
    Posted 8 years ago #

    thats what I did and I got this under the blue header
    /* BEGIN IMAGE CSS /http://www.footballmanagerradio.com/wp-content/themes/k2/styles/vader/mustafar.jpg

  16. fht
    Member
    Posted 8 years ago #

    Congratulations - you did it! :)

    So, what was the problem in detail?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags