• I am using the blog name in my header, but I want to format how it displays. I really want the title on 3 separate lines. Right now, the title of the blog is “Civil Litigation and Insurance Disputes”, but I want it to read like

    Litigation
    Insurance Disputes
    Serious Personal Injury
    (each item on its own line).

    Is there a way to do this?
    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try editing your theme’s index.php file.

    Thread Starter luceylin

    (@luceylin)

    Can you give me some hints as to what code I have to edit and what edits to make? I am learning as I go here, and still have pretty basic skills. Thanks.

    always make a backup copy before changing the theme files.

    in your header.php, the blog title look something like this (depending on the theme)

    <div id="header">
                <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
                <div id="description"><?php bloginfo('description'); ?></div>
    </div>

    <?php bloginfo('name'); ?> would automatically show the blog title which you enter in the ‘admin’ -> ‘settings’ -> ‘general’ .

    however, you can edit this manually to something like this (keep the html structure of your code):

    <div id="header">
    <h1><a href="<?php echo get_settings('home'); ?>">Litigation</a></h1>
    <h1><a href="<?php echo get_settings('home'); ?>">Insurance Dispute</a></h1>
    <h1><a href="<?php echo get_settings('home'); ?>">Serious Personal Injury</a></h1>
                <div id="description"><?php bloginfo('description'); ?></div>

    you may need to re-style the h1 tag (margin, padding, etc.) ??

    Thread Starter luceylin

    (@luceylin)

    This is my code, but because it is not EXACTLY like your example I am not completely following as to which parts I delete. Can you tell me exactly what gets deleted? By the way, I have in my header a logo that was put in as a graphic. Here is the site if you want to take a peek to better see what I mean. Many thanks for your help. This is almost the last tweak I need to make before I put it down for a NAP. I am sure I will futx with it more later, but I really do need a break………

    <div class="art-Header">
        <div class="art-Header-jpeg"></div>
    <div class="art-Logo">
        <h1 id="name-text" class="art-Logo-name">
            <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
        <div id="slogan-text" class="art-Logo-text">
            <?php bloginfo('description'); ?></div>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Putting Blog Name onto multiple lines?’ is closed to new replies.