• I am trying to change the color or a single word in a site title, such as having the word and coloured red in Rose and crown

    Rose <span style="color: red;">and</span> Crown

    tried lots but cant get it to work…

Viewing 4 replies - 1 through 4 (of 4 total)
  • A link to your site would help us to help you

    Thread Starter frostedlemon

    (@frostedlemon)

    Thanks for replying lockettpots, however the site is not on an extremal server as yet.

    Is their a plugin/method of allowing html into the “Site Title” entry field in “General Settings” page in the wordpress admin menu?

    Not that I am aware of. What perhaps you can do is go into the header.php file and find the line that says something like

    <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>

    and change the bit that says

    <?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>

    to
    Rose <span style='color: red;'>and</span> Crown

    and see what happens

    Thread Starter frostedlemon

    (@frostedlemon)

    Thanks, i’ll give it a try.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change the colour of a single word in a site title.’ is closed to new replies.