Random One Cat Widget
[resolved] Add spacing or bullets to the 5 post links? (3 posts)

  1. SavoryGirl
    Posted 5 years ago #

    I love this widget, so thank you! However, I'm wondering if there's a way to make the 5 links that show up more visually appealing by adding a space between each one or bulleting each one or something? Wright now they are just all smushed together and since some post names go to two lines it's hard to make sense of it all.

    Also - is it really pulling random posts or is the most recent one always included? Seems the latter to me but maybe it's just the luck of the draw as of right now.


  2. BC
    Plugin Author

    Posted 5 years ago #

    Firstly yes it is pulling them randomly - as randomly and the rand() function allows anyway. This doesn't seem to favour recent posts as far as I can see.

    Secondly it is possible to format the way the widget displays the post titles but you need to add some CSS for it to do it.

    Use the class .widget_random_one_cat div e.g. add the following to your themes css file

    .widget_random_one_cat div { margin-bottom: 5px; }

    to add a little space.

    The widget doesn't add any formatting itself. this is deliberate so that it fits into any theme, however if you put it into a thin widget area and have long titles then they will get wrapped.

  3. BC
    Plugin Author

    Posted 5 years ago #

    The list issue should now be fixed in the latest version (2.2).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Random One Cat Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic