Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
The place for more technical questions for those who want to create new pagetypes or bespoke functionality.
  • Page:
  • 1

TOPIC: Bullets page type

Bullets page type 3 years 11 months ago #4174

  • Neil Pollock
  • Neil Pollock's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 77
  • Thank you received: 3
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:
p.bullet:not(:first-of-type) {
	margin-left: 32px;
}
p.bullet:not(:first-of-type):before {
	content:'•';
}

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

Last edit: by Neil Pollock.
  • Page:
  • 1
Moderators: jjs
Time to create page: 0.037 seconds
Copyright © 2020 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search