• I have a simple question about coding CSS for the WordPress storytitle tag. I have read the excellent CSS explained in the WordPress Tutorial Series. So following the tutorial I have the following CSS for my post titles:
    storytitle {
    margin-top: 0.25em;
    font: bold 16px Georgia, “Times New Roman”, Times, serif;
    }
    .storytitle a {
    text-decoration: none;
    color: #0b39b2;
    }
    I had expected the Post Title now to be of color 0b39b2 but instead it is of color 666, which is set somewhere else.
    I have tried setting the color in the storytitle tag but to no avail. Any suggestions?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Colour the h3, that will sort it.

    Scrub that
    It’s the ‘cascading’ bit of the CSS that’s taking over.
    Move what you had to the bottom of your style sheet and it will work.

    ??

    One day… I’ll get the hang of this css malarkey ??

    smsms

    (@smsms)

    I’m replying to a post from a bit ago rather than creating a new post since I’m having the same problem–hopefully some one has their viewing options set to “new replies” rather than “new posts.”
    I’m having the same problem setting the color of my “storytitle” text. I did the same thing the earlier poster said, adding the color tag. The strange thing is it seemed to be working, and most of the postings are correct, but one is not–it’s stil the original default brown one. It seems as though all posts except one are working properly.
    I tried moving the storytitle stuff down to the bottom but that didn’t work either. Pretty maddening that for some reason all the postings work but one.
    What’s going on?
    steve

    smsms – can we have a link to your blog, and you indicate the issue that way ?

    smsms

    (@smsms)

    (Since I got hit hard by comment spam right out of the box, I’ve been rather tight about posting links to my site. Though the tips I picked up here seemed to have taken care of it lately)
    Anyway, now that I’m at home (on Firebird) instead of at work (IE) it looks right. I even made sure to clear out my browser cache too so maybe it’s just an IE bug or something. It also works on IE from my home machine–maybe I’m just going crazy or imagining things.
    Anyway, https://blog.stephenmsnyder.com/ is where I was having the problem. The title for the top posting, Office Cubicle Fun was the default brown and the rest of the posting titles were blue like I wanted. Weird. I guess I’ll check it again from work tomorrow.

    Kafkaesqui

    (@kafkaesqui)

    It’s the a:visited color that’s causing the grief here. IE is notorious for overriding (i.e. ignoring) this property elsewhere in your css and defaulting to the…default.

    smsms

    (@smsms)

    I’m back at the machine where it was messing up–still does. It’s just so weird that it’s only one while the rest look fine. Stranger still, my coworker has identical hardware & sofware and it’s fine on his. I guess it’s just flakey live with it. It’s funny–right before my very eyes, I can change the color, refresh the broswer and every one will change to the new color–except one. Oh well.
    I’m new to CSS–is this type of thing the norm or the exception?

    Kafkaesqui

    (@kafkaesqui)

    It’s Internet Explorer, which is a norm all its own.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘CSS storytitle tag question’ is closed to new replies.