WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Modifying style.css foe header (16 posts)

  1. vexxatu
    Member
    Posted 7 years ago #

    Ok...this problem i have is modifying the stylesheet of my template to insert an image in the header.I tried different settings,but i don't seem to make it fit or work.It's either repeting(the logo) or doesn't show fully
    This is my code in the style.css file:

    h1 {
    margin: 0px;
    background-image: url("logo2.jpg");
    height: 80px;
    width: 100%;
    }

    I dont know php editing or css very much,so any help apreciated.my site is http://www.filecluster.com ,mybe you guys can help me somehow

  2. whooami
    Member
    Posted 7 years ago #

    try this:
    h1 {
    margin: 0px;
    background-image: url("logo2.jpg");
    background-repeat: no-repeat;
    height: 80px;
    width: 100%;
    }

    that will fix the repeating but might not place it properly. For more, read this:

    http://www.w3schools.com/css/css_background.asp

  3. vexxatu
    Member
    Posted 7 years ago #

    i tried your body,i have made this myself yestarday(even if it wasn't in the code today i removed it) and it looks like this...www.filecluster.com no repeat and no logo...a quick reminder..my logo is 1024px80px.

  4. whooami
    Member
    Posted 7 years ago #

    GRRR!

    1. I replied in the OTHER thread.
    2. Your logo is NOT 1024x80 px. Your logo is 300x90 px
    3. READ!!! I posted a link that explains how to place images properly.

  5. vexxatu
    Member
    Posted 7 years ago #

    well...i've seen you told me that i missplaced it...i substitute it with your code exactly as you have writen in my css.anyway...i do not want to be stresfull to anyone so ill read your guide you posted..maybe ill figure it out

  6. vexxatu
    Member
    Posted 7 years ago #

    ok..i managed to insert the image exactly as i want..but i have another problem...my image has a gradient blue near the logo...but the whole thing is white...

  7. vexxatu
    Member
    Posted 7 years ago #

    and whoami..pls don't get upset...i didn't posted here without making some readings on the net...i may be more stupid than i think...but..please..bare with me...im trying to learn..its the whole point :) tnx for your help

  8. vexxatu
    Member
    Posted 7 years ago #

    ok...i got it..was a matter of refresh...now the last question(i hope) how can i find out what's my header's lenght and width? i mean the theme's? i searched in the css file,but i didn't figured it out

  9. vexxatu
    Member
    Posted 7 years ago #

    and one more thing...i want the background to stay the same with any screen resolution...

  10. jessicadubya
    Member
    Posted 7 years ago #

    i am a total newbie, not only to this site, but to blogging or doing any type of cyber anything. i actually don't even know how to start a new thread or discussion, which is embarrassing, in and of itself. so, this was the only way i could find to post my question. this is the query i have, and i'm hoping someone here can help me. how do i link a song to my blog or have music playing in the background? i've seen blogs that have this. also, i have no idea how to make mine unique, well, because i'm a newbie. i only know how to use the templates the host of the site offers. i want to have graphics, etc... if anyone could help me with this, it would be great. thanks!

  11. whooami
    Member
    Posted 7 years ago #

    the theme you are using does not have a set width, its fluid, It resizes. Open your site, resize the browser window and watch what happens -- that's called fluidity.

    And what exactly do you mean by "i want the background to stay the same with any screen resolution..." The color? The design, what?

    ---

    The logo looks good where it is, and all you had to was a little reading too. That little reading took you alot less time than all of the posts here that got you nothing but a dream.

  12. yosemite
    Member
    Posted 7 years ago #

  13. vexxatu
    Member
    Posted 7 years ago #

    jessica..for starters...to have an ideea about the blog editing,options etc visit http://codex.wordpress.org .As for your 'sound',there is a plugin that you install in your blog http://www.1pixelout.net/code/audio-player-wordpress-plugin/ .Also,there are other plugins that ease up your 'blogging' http://www.wp-plugins.net Don't be ashame to post on this thread,all will help you if needed.take care

  14. jessicadubya
    Member
    Posted 7 years ago #

    thanks, yosemite! i'm taking baby steps. :]

  15. jessicadubya
    Member
    Posted 7 years ago #

    vexxatu, thanks to you, too! wow, already so much help and it hasn't even been 10 minutes since i posted the question. what support!

  16. vexxatu
    Member
    Posted 7 years ago #

    anyway whoami thanks alot for your help,i guess i was over exited and missed out some tutorials...i owe u some beer or juice :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags