WordPress.org

Ready to get started?Download WordPress

Forums

Page-list
[resolved] Horizontal list with commas (2 posts)

  1. godhunter
    Member
    Posted 11 months ago #

    Hello, I use this plugin and it works great. I would like to change displaying on some pages, i would like to display differently :

    • Item 1
    • Item 2
    • Item 3

    become

    Item 1, Item 2, Item 3,

    is there someone to help me please ?

    http://wordpress.org/extend/plugins/page-list/

  2. godhunter
    Member
    Posted 11 months ago #

    Ok, this is the solution, found this morning...

    just specify a name of class in the shortcode and add this css code :

    #liste-enligne {
    border: 1px solid #000;
    margin: 2em;
    width: 80%;
    padding: 5px;
    font-family: Verdana, sans-serif;
    }

    #liste-enligne p {
    display: inline;
    }

    #liste-enligne ul, #liste-enligne li {
    display: inline;
    margin: 0;
    padding: 0;
    color: #339;
    font-weight: bold;
    }

    #liste-enligne ul li:after {
    content: ", ";
    }

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.