ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

how to add HR or image below every entry?

June 29, 2007 8:08am

Subscribe [2]
  • #1 / Jun 29, 2007 8:08am

    Riverboy

    2993 posts

    Is it possible to automate that every weblog entry has horizontal line or image below the “posted on:”?

    It makes the posts more readable but now its not so nice when all posts comes without any lines between them!

    Thanks manytimes if solution is around somewhere!
    - Tuittu

  • #2 / Jun 29, 2007 8:26am

    Derek Allard

    3168 posts

    Absolutely, just add it to the bottom of your weblog:entries tag.

    {exp:weblog:entries weblog="site"}
    <h2>{title}</h2>
    <p>{body}<br />
    <hr ><br />
    {/exp:weblog:entries}

  • #3 / Jun 29, 2007 8:30am

    Riverboy

    2993 posts

    shaissse im feeling idiot! how come i didnt figure that out…shhhhait. So sorry. Have been learning EE today from 05.30 (our local time) and time is now 14.30 so i curse my brains now 😊 And if i get this righty, you can add all html between every {EEtags} if you like to do so?

  • #4 / Jun 29, 2007 8:32am

    Derek Allard

    3168 posts

    No prob,

    Yes, you can pretty much you can add anything you want between EE tags.

  • #5 / Jul 07, 2007 4:16pm

    celeritycat

    19 posts

    For me the hr adds a little too much space between entries, but I do like some seperation.  I find it useful to add a border to the posted div tag in the css file,  but just add the border to the bottom of the div.  something like below. Just a suggestion and of course you could apply this border to whatever is that last div tag in your entry.

    }
    
    .posted {
        border-top: 0px;
        border-right: 0px;
        border-bottom: 1px solid #CCCCCC;
        border-left: 0px;
        padding-top: 1px;
        padding-bottom: 15px;
    }
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases