WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Putting Title And Date On Same Line (2 posts)

  1. William Speruzzi
    Member
    Posted 7 years ago #

    By checking my blog you will notice that my first entry (NEW) has the date under the title. I've been trying to realign but it's not working. I want the NEW icon, title and date on the same line as with the entries that follow. Any help?

    Here's the code I have in place:

    /*************************************
    +Entry
    *************************************/
    .entry{
    color:#888;
    font-size:1.3em;
    margin:5px;
    padding:10px;
    }
    .entrytitle{
    border-bottom:1px dotted #4F5158;
    color:#888;
    }
    .entrytitle h2, .entrytitle h3{
    font-size:1.7em;
    display:inline;
    font-weight:normal;
    }
    .entrytitle h2{
    color:#888;
    }
    .entrytitle h3{
    font-weight:normal;
    }
    .entry-1{
    background:#000000;
    border:1px solid #434343;
    color:#888888;
    font-size:1.5em;
    }
    .entry-1 .entrytitle{
    border-bottom:1px solid #5F666A;
    color:#888;
    }
    .entry-1 .entrytitle h2 {
    color:#CDB;
    }

    /*************************************
    +First Entry
    *************************************/

    body#home .entry-1 .entrytitle{
    background:url("./images/new_button.jpg") no-repeat;
    border-bottom:none;
    height:45px;
    padding-left:50px;
    }
    body#home .entry-1 .entrytitle h2{
    display:block;
    margin:0;
    }
    body#home .entry-1 .entrytitle h3{
    display:block;
    margin:0;
    font-size:1.2em;
    }

  2. William Speruzzi
    Member
    Posted 7 years ago #

    Removing this code made it work:

    body#home .entry-1 .entrytitle h2{
    display:block;
    margin:0;
    }
    body#home .entry-1 .entrytitle h3{
    display:block;
    margin:0;
    font-size:1.2em;
    }

    Then I just reformatted the way the date was displayed.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags