WordPress.org

Ready to get started?Download WordPress

Forums

CSS Color change locked? (9 posts)

  1. TaoAhler
    Member
    Posted 7 years ago #

    I know how to change til colors of a Style Sheet. However for some themes it seems not to be possible.

    Here for example i would like to change the 'background: #DADAD0' to 'background: #FFFFFF' (white) but nothing happens when i do that. But i can for example easely change the font-size..
    And that goes for the entire style sheet!

    body {
    background: #DADAD0 url(images/back.jpg) 0 repeat;
    color: #400000;
    text-align: center;
    font-family: verdana, helvetica, arial, sans-serif;
    font-size: 12px;
    padding:0px;

    I wanda is the author of a theme able to lock or disable certain functions?

  2. Bodhipaksa
    Member
    Posted 7 years ago #

    The question I would ask is, what color is back.jpg? If that image is there it'll prevent you from seeing the change in the background color.

  3. TaoAhler
    Member
    Posted 7 years ago #

    This was just an example. I can change no colors in the entire Style Sheet!

  4. moshu
    Member
    Posted 7 years ago #

    The reply was also an "example" :)
    If you have a background image... you cannot do anything about/with the colours! That's why the question was asked above!
    If you have an image like this:
    http://www.argonavis.eu/wp-content/themes/painted-desert-1/images/repeat.jpg
    no matter what colour code you put in the stylesheet - nothing will happen.

  5. TaoAhler
    Member
    Posted 7 years ago #

    I understand that I cannot change a background color that I cannot see, if it's covered by an image. Or change the colors in the image, except in Photo Shop or so, which I did. (thats why i want to change the stylesheet colors so they match)

    Heres another ex. -the blog name. I can change it's position, the font size, but still not it's color!?

    #blog_name {
    position: absolute;
    left: 55px;
    top: 30px;
    color: #DBD1C2;
    margin: 0;
    padding: 0;
    font-weight:bold;
    font-size: 36px;
    letter-spacing: -2px;
    word-spacing: -0.8px;

    It doesn't make any difference if I change it through WordPress og through Firefoxes Web Developer plug-in.
    To me this does not compute..

  6. Evita
    Member
    Posted 7 years ago #

    I think that´s because "blog name" is a link. You have to change the link-color too.

  7. Bodhipaksa
    Member
    Posted 7 years ago #

    It's because the word "ArgoNauterne" in the header image is itself part of the image. It's not text, so it's going to be unaffected by the css. Perhaps your theme has a script for making the blog name part of the image in this way?

    You could try having the blog name appear in h1 tags over a background image in a more conventional, search-engine-friendly, and more flexible way.

  8. TaoAhler
    Member
    Posted 7 years ago #

    Thank you for your replys! I have been unable to solve the problem. Still no colors at all could be changed. I have changed Style Sheet now. And now all colors can change :-)

  9. jadr
    Member
    Posted 7 years ago #

    TaoAhler

    Close the topic if youre done.

    rgds
    j

    [sig moderated]

Topic Closed

This topic has been closed to new replies.

About this Topic