Appendix B. Developer Reference

CSS Classes

.jch-adslot

Every slot. Full width, centered content.

.jch-adslot--module-id

Every slot rendered from the module with this id. Carries the slot's heights.

.jch-adslot--responsive, .jch-adslot--fixed

The slot's Ad Mode. In-feed and In-article slots are always responsive.

.jch-adslot--inline-block

In-article slots.

.jch-adslot--fallback

Added when the slot shows fallback content. Centers the content within the reserved space.

.cls-ad-fallback-wrapper

Wraps the fallback content.

.jch-adslot--hidden

Added when the slot collapses. Animates the height, margins, padding and opacity to zero.

On This Page