Site logo

Archived topic

Displaying bullets in a post relationship

7 replies · Started by Hector on August 8, 2020

Viewing posts 1–8 of 8

How can I insert bullets at the beginning of a post list inside a Widget? Suppose I want to show the last 5 posts. I want these to have a bullet at the beginning.

This is what I do for that:

ul.post-categories {
  margin-left:4px;
}

ul.post-categories {
  list-style-type: none;
}

ul.post-categories li::before {
  content: "\f097";
  font-family: "fontello";
	padding: 0 10px 0 0;
	color:#8395a7;
}

Of course, this is dependent on the font-icons I am using.

This may help?

Do I add this with the Simple CSS plugin? Because I already did it and it does not work, the posts in the widget are still without bullets.

Thanks for your support.

Where is the widget you are referring to?

I mean the widget that shows recent posts.

Hi there,

Give this CSS a shot:

.widget_recent_entries ul li {
    list-style-type: disc;
}

.widget_recent_entries ul {
    margin-left: 1em;
}

Works Excellent. Thanks Tom

You're welcome :)

This archived topic is closed to new replies.