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

Bullets page type

  • Neil Pollock
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
9 jaren 7 maanden geleden - 9 jaren 7 maanden geleden #4174 door Neil Pollock
Bullets page type werd gestart door 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:'•'; }
Laatst bewerkt 9 jaren 7 maanden geleden door Neil Pollock.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: JohnSmith
Tijd voor maken pagina: 0.139 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo