WordPress.org

Ready to get started?Download WordPress

Forums

CSS Colors won't apply (9 posts)

  1. Neone
    Member
    Posted 9 years ago #

    I've installed the topmenu navibar.
    In the CSS I can change everything, except for the textcolor!
    Background, hover and it's effects, borders - everything. Except for the textcolor. I've ran the CSS thru the w3 CSS validator, no errors except for some attribute that came with the CSS from wordpress.
    Any ideas?

  2. Rémi Prévost
    Member
    Posted 9 years ago #

    Did you check if any other rule apply to the same elements?

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    p, li, .feedback {
    font: 90%/175% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    letter-spacing: -1px;
    color:#ff0000;
    }
    Makes it red.
    Try
    .storycontent p {
    #ff00ff;
    }
    too

  4. Rémi Prévost
    Member
    Posted 9 years ago #

    Err... I guess it should work with
    .storycontent p {
    color: #ff00ff;
    }
    instead of
    .storycontent p {
    #ff00ff;
    }
    no?

  5. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Yup - me tired :)

  6. Neone
    Member
    Posted 9 years ago #

    It was stupid of me to not tell you that the error doesn't concern the text in the blog. It's the text in the header navigationbar.
    I can't change it no matter what I do. And I keep getting an error from W3 when trying to XHTML validate my index.php file.
    It says that UL isn't allowed. But it should be, at least what I can see within the W3 specifications of allowed commands.
    http://www.daniel-sundgren.se
    That's my site if you would like to view the code of either the index.php or the css file.

  7. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Colour:
    #header a {
    color: #ffff00;
    text-decoration: none;
    }
    That makes "Start Bildgallerie" and the others Yellow.

  8. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Ack.... stoopid forum.
    Take one of the < away

  9. Neone
    Member
    Posted 9 years ago #

    Yeah, I'm working with it alright :)
    I'm trying to lower the menu so it's right above the bottom border of the header. That way I can edit the header image and create some cool effects around the the buttons. But I don't know how to place it there :(
    http://photomatt.net
    Something similair like that, his menu is neat. And it's his script that I'm using.
    The menu is inside the <h1> tag, maybe it's because of the <h1> tag attributes in the CSS file that causes the text to appear in the middle instead of the bottom?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.