• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Change Site Title Color

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Change Site Title Color

This topic is: resolved

Tagged: css, new pro, site title

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 6 months ago by vamhh.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 3, 2017 at 1:30 am #213211
    vamhh
    Member

    Hi everyone,

    I'm using the News Pro theme and I want to change the color of last three letters (in this case they are: PRO) of the title. I know I can use a logo but I just don't want to use an image.

    To change the color is there any way we can use PHP to modify the default code and add span tags around the last three letters? After adding the span tags, the code would look something like this.

    <div class="title-area">
        <p class="site-title" itemprop="headline"><a href="https://demo.studiopress.com/news/">News <span class="my-style">Pro</span></a></p>
        <p class="site-description" itemprop="description">HTML5 Genesis Theme</p>
    </div>

    I actually found another way to do it by changing the actual site title to "News" and then using CSS after to add "Pro". But I don't know if it is the proper method or not.

    https://demo.studiopress.com/news/
    November 3, 2017 at 7:11 am #213214
    Victor Font
    Moderator

    This filter will give you what you want:

    add_filter( 'genesis_seo_title', 'my_custom_title' );
    function my_custom_title( $title ) {
        return '<p class="site-title" itemprop="headline"><a href="https://demo.studiopress.com/news/">News <span class="my-style">Pro</span></a></p>';
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    November 3, 2017 at 7:52 am #213222
    vamhh
    Member

    Thanks for your help Victor, that worked.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change Site Title Color’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble