WordPress.org

Support

Support » Themes and Templates » [Resolved] Possible To Have Multiple Colors In TwentyEleven Title ?

[Resolved] Possible To Have Multiple Colors In TwentyEleven Title ?

  • sabster

    @sabster

    Sup peeps.

    I’m using twentyeleven as a base theme, and what I’m trying to do is have a title at the top of my page that has two different colors in it. for example, the first part of my logo will be blue (which is the first word) and the second word will be orange.

    however, i cant add any html to place them in different divs through wordpress because the html will show in the title (any way to allow html to show in the title area box for wordpress maybe?) and the title is just pulled through PHP from the header template, so I’m not sure how to change it.

    i might just manually add the title in straight from the raw theme itself, but i’d rather do it the “right way”, so if anyone knows, i’d appreciate it.. thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    No, there is not an easy way to do that — for the reason you already stated. You could, conceivably, hardcode the HTML for the site title in the header.php file, but that may not be ideal. Whatever you do, be sure that you are not modifying any theme files directly — instead use a child theme:

    http://codex.wordpress.org/Child_Themes

    sabster

    @sabster

    k thanks wp

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Possible To Have Multiple Colors In TwentyEleven Title ?’ is closed to new replies.
Skip to toolbar