The place for more technical questions for those who want to create new pagetypes or bespoke functionality.

Bullets page type

  • Neil Pollock
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 7 months ago - 9 years 7 months ago #4174 by Neil Pollock
Bullets page type was created by Neil Pollock
Whenever someone uses this page type it seems they always want it to appear as:

Here is a list:
• item 1
• item 2
• item 3

However, the nature of the page is that either everything has a bullet, or nothing does. Initially I tried recreating the page functionality from scratch to get it to work as they wanted. But then I realised there was a simpler fix, which some may find useful:
Code:
p.bullet:not(:first-of-type) { margin-left: 32px; } p.bullet:not(:first-of-type):before { content:'•'; }
Last edit: 9 years 7 months ago by Neil Pollock.

Please Log in or Create an account to join the conversation.

Moderators: JohnSmith
Time to create page: 0.116 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo