WordPress.org

Ready to get started?Download WordPress

Forums

Need help with header (3 posts)

  1. jwurster
    Member
    Posted 9 years ago #

    I started modifying the Gila theme (dangerous for a newbie like me). I only wanteded to change the color scheme, but then I got greedy. I wanted to changed the style in the header to a shadow and then I wanted to put in a background image.

    Well, I couldn't get the shadow to work overlaying a background image, but I did get the shadow to work. (And it looks different in different browsers.) Unfortunately, I have one problem with the change listed below. When you select a category with only 2 posts, the flow of the background is messed up. I would appreciate any and all help.

    My blog is at http://www.jwurster.us/wordpress/.

    Here is my code from the style.css:

    #header {
    color: inherit;
    background-color: rgb(184,38,25; /*rgb(51,204,255); light blue but darker */
    /* background-image: url(http://www.jwurster.us/publishImages/wursterbetter.jpg); */
    /* repeat-n; */
    float: left;
    width: 100%; /* jmw - masks the image because it comes after the image */
    background: transparent;
    filter:alpha(opacity=90);
    -moz-opacity:.20;
    opacity:.90;
    font-weight: bold;
    filter: shadow; /* jmw */
    }

  2. Lorelle
    Member
    Posted 9 years ago #

    Shadow filters don't work on a lot of browsers. It's a special effect that is still under debate. There are also manual ways to create shadow effects without using the filter (View Page Source to see how).

    Your shadow filter doesn't work in Firefox, but does in MSIE, though, as with most of these, it isn't very pretty. For the simple use of the shadow effect that you want in the header, I recommend that you create a graphic with the perfect shadow and use that instead. Does the same thing but will have a better look.

    This is easily done in any paintshop program.

    As for things being screwed up on the category or archive pages, you need to fix their templates so they match the index.php. Problem with templates is that if you change one, you gots to change the others to maintain a consistent look, if you want to.

  3. jwurster
    Member
    Posted 9 years ago #

    I really like the technique you used on your site to offset the title in different colors. I copied what you had into my header, but I didn't get the same results. I got 2 titles side-by-side. Where else should I look to fix this?
    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.