Skip to content

Plugin Styles

Laurel edited this page Sep 28, 2022 · 2 revisions

Index:


Pico

Styles from the Pico documentation, modified to work with the Newspack theme by adding !important, and switching display: block to display: inherit:

.HideWhenRegistered[data-pico-status="registered"],
.HideWhenRegistered[data-pico-status="paying"] {
   display: none !important;
}

.ShowWhenRegistered {
   display: none !important;
}

.ShowWhenRegistered[data-pico-status="registered"],
.ShowWhenRegistered[data-pico-status="paying"] {
   display: inherit !important;
}

.HideWhenPaying[data-pico-status="paying"] {
   display: none !important;
}

.ShowWhenPaying {
   display: none !important;
}

.ShowWhenPaying[data-pico-status="paying"] {
   display: inherit !important;
}
Clone this wiki locally