WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Post title background (7 posts)

  1. mlankton
    Member
    Posted 6 years ago #

    I am putting a color background around post titles in a redesign I am working on. I am having no luck at all getting the background color to extend the length of the window it's in. I have played with background repeat and background position, but I always end up with <h3> tags that only have the color background to the last letter of the title. I really want this colored background to extend the length of the window it's in, and to automatically resize when the browser window gets resized. I looked all morning and tried everything, but I need a hand on this simple fix.
    Thanks in advance.

  2. wpdprx
    Member
    Posted 6 years ago #

    you need to give a link to the page, otherwise it is pure speculation what we can tell you.

  3. Jeremy Clark
    Moderator
    Posted 6 years ago #

    I just checked in FF2 and in IE6 and both show a colored background extending to the right sidebar and automatically resize with the window. You might want to clear your cache and then view your site again.

    The link I was looking at was the one in your profile, aventhusiast.com if this isn't correct post the right link.

  4. mlankton
    Member
    Posted 6 years ago #

    That's my current theme. I'll activate the unfinished theme so you guys can take a look.
    Oh, and thank you, I really appreciate the help.

  5. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Remove this from your stylesheet

    .itemhead h3 {
    display: inline;
    }
  6. mlankton
    Member
    Posted 6 years ago #

    You are my hero.
    Thanks for taking the time to help me with this easy fix.

  7. pucku
    Member
    Posted 6 years ago #

    Hi all. I'm kind of having the same problem...the site is http://www.spotfellas.com, but I JUST starting working on it, so it's nowhere near finished (new to WP and PHP btw).

    I'm using a theme that I found on WP and I also created a custom home page. The thing is that when I make my browser window smaller, all the text moves on the new custom home page, but the background image stays stagnant, so things don't line up the way I want them to.

    What I basically want to know is how can I have it so that ALL the pages on my site automatically resize so that everything like the background image will still be completely visible? For example, on my 3 other pages, I lose the SpotFellas logo at the top when I make the pages smaller.

    Thank you in advance.

Topic Closed

This topic has been closed to new replies.

About this Topic