WordPress.org

Support

Support » Plugins and Hacks » two-colored headlines

two-colored headlines

  • I want to have two-colored headlines in wordpress. for example: “our appletree” – with our in blue and apple in red.

    Of course i could use <h1><span>our</span>appletree</h1> and color the span in another way than the rest. but that’s nor correct from semantic, seo and validation perspective. and poorly there’s no :first-word css pseudo-element.

    Is there any possibilty or plugin to get this working? Maybe some kind of prefix being set in front of the headline, so “our” would be the prefix in this case, being followed be “<h1>appletree</h1>”…

    Or other solutions?

Viewing 1 replies (of 1 total)
  • esmi

    @esmi

    Forum Moderator

    that’s nor correct from semantic, seo and validation perspective

    Actually there’s nothing wrong with that markup. It’s valid. It’s semantic (the <span> tag has no semantic meaning). And I don’t see how it would have any SEO impact.

Viewing 1 replies (of 1 total)
  • The topic ‘two-colored headlines’ is closed to new replies.