Support » Fixing WordPress » Two font sizes in blogname header

  • Hi,

    I want to have my blog name in two fonts sizes. Say the blog is called “Cilibrin’s New Blog.” I’d like the font size of “Cilibrin’s” to be smaller than the font size of “New Blog.”

    How would I go about making this happen?

    Many thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Look in your theme’s header.php. Odds are, you have something like this:
    <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>

    One option would be to simply replace
    <?php bloginfo('name'); ?> with your blog name styled however you want.

    Thread Starter cilibrin

    (@cilibrin)

    This is the code. How would you modify it?

    <div class=”header”>
    <div class=”blog-name”><h1>“><?php bloginfo(‘name’); ?></h1></div>
    <div class=”blog-description”><?php bloginfo(‘description’); ?></div>
    </div>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two font sizes in blogname header’ is closed to new replies.