WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
[resolved] How to display the posts one below the other on 2 columns? (5 posts)

  1. grapheyes
    Member
    Posted 1 year ago #

    Hello Héctor,
    Your plugin displays the posts one below the other on one column.

    Is it possible to display the posts one below the other, but on 2 columns?
    I can not display popular posts on two columns by changing the "wpp.css" file.

    This must be due to the construction of the "wordpress-popular-posts.php" file.
    Can you help me please?
    Thank you a lot.

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Greg,

    Well, this one is a complex one :P Yes, it is possible. For that, you'd need to give each item a defined width & height via CSS, then use the float CSS property to position them into two columns.

    I found here a nice example, hope it helps.

  3. grapheyes
    Member
    Posted 1 year ago #

    Hello Héctor,
    Thank you for the link.
    If I understand correctly, it is only a CSS customization (in "wpp.css" file).
    Should I also change the "wordpress-popular-posts.php" file? If yes, I am unable because I am a designer, not a programmer.

    Thank you for your return.

  4. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Nope, you won't need to touch the wordpress-popular-posts.php file at all. All customization can be done just using CSS only, no need to change anything on the coding side of the Force :)

  5. grapheyes
    Member
    Posted 1 year ago #

    :) Thank you Hector, I'll try using CSS only.
    I'll let you know the result

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic