Need help? Check out our Support site, then


Contempt theme: changing the pagebar gradient

  1. I am using the Contempt theme on WordPress.com and would like to change the gradient of the pagebar. The pagebar is the horizontal bar of links that appears right underneath the header image. See my site: http://theperiphery.wordpress.com/

    I would like to change the color of this gradient. I'd be happy to simply overlay it with an image, if that is possible.

    Thanks,
    Eric

  2. Do you have the CSS upgrade? It is showing up in your source of the page as:

    <ul id="pagebar" style="background: url(http://theperiphery.wordpress.com/wp-content/themes/pub/contempt/images/blue_flower/pagebar.jpg);">

    I would imagine that is in your CSS sheet and you can just change the background image or the color associated with .pagebar in your CSS sheet. You will only be able to change that portion if you have the CSS upgrade though.

    Trent

  3. I do have the CSS upgrade, and I realize that the image url you mention shows up when you pick the "view source" option from a right-click on my blog's homepage. However, that URL is not changeable from my CSS page in wordpress.com. It does not appear at all in the code.

  4. This is yet another case of WP hardcoding presentational markup in the template instead of in the CSS where it should be. It makes a nonsense of the CSS upgrade. I do not why they do it. It is completely unnecessary and contrary to all good web dev practices and I have been campaigning against it for years. Flame away. :)

  5. This is yet another case of WP hardcoding presentational markup in the template instead of in the CSS where it should be.

    Shouldn't affect it though as the user CSS file is the last thing to load within the header and should override all of the rest of the CSS in the header.

    Should actually be blaming the theme designer for doing that actually, not staff.

  6. Well WP pretty much rewrites all themes from the ground up. Even if there is a glitch in the original we could fairly expect them to iron it out. I think this CSS loads before the element in question. I do not think it will overide it but I haven't tried it.

  7. Well WP pretty much rewrites all themes from the ground up.

    *chuckle* No they don't. :)

    I agree though that all of the CSS should be in the CSS file.

    Hmm, a quick look at the theme in question does show it loading the CSS within the file directly. Well, that does suck...

Topic Closed

This topic has been closed to new replies.

About this Topic