[resolved] Possible To Have Multiple Colors In TwentyEleven Title ? (3 posts)

  1. sabster
    Posted 2 years ago #

    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!

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    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:


  3. sabster
    Posted 2 years ago #

    k thanks wp

Topic Closed

This topic has been closed to new replies.

About this Topic