Styling entry-meta data section at bottom of post (2 posts)

  1. jeni_8686
    Posted 6 years ago #


    At the end of each post extra information is listed under a div class called "entry-meta".

    An up-to-date example is :
    By Jeni | Posted in Uncategorized | Tagged consumer, credit crunch, Fashion & Beauty, good, happiness, investment, money, reasons, recession | Edit | Comments (0)

    So, I went into my style.css to edit the background and to contain this data in a box, like so:

    margin: 0px 0px 20px 0px;
    padding: 10px 90px;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    background: #DFDBD3;
    color: #E5B657;
    text-align: left;

    But for some reason it won't let itself be styled and as such looks messy.

    Am I doing the css wrong or do I need to edit the styling of a separate div class altogether?



  2. Michael
    Forum Moderator
    Posted 6 years ago #

    it took a bit of detective work, and hopefully here is the solution:
    there is a closing bracket } missing in the style.css (after the width:80%; ) that stopped everyting after the line from working.
    the correct line is here:

    div.sidebar input#s {
    width: 80%; }

Topic Closed

This topic has been closed to new replies.

About this Topic