Where do I start?
If you're using Oxygen as a starter theme to build your own, the best place to start is with the README.md that came with this theme or view it directly on github. This document thoroughly explains how to develop using Oxygen, as well as how to use some of it's built in functionality!
Plugin Examples
Lazy Loading
Oxygen utilizes the Lazysizes plugin to lazy load images as they appear on screen. Lazysizes offers a variety of benefits over other traditional lazy loading approaches. Give an image a class of lazy
and set it's source to data-src
to use default lazy loading.
Lazy loading supports responsive images and comes configured on oxygen with sm, md, lg, and xl breakpoints for picture sets that matchup with bootstrap.
Slick Slider
Create a quick slick slider using the data-slick
attribute on a div container. Customize slick with their documented settings!
Fancybox
Use the data attribute data-fancybox
on an anchor or button to open an item or set of items in fancybox! Please see fancybox docs for full information on how to use!
Can also open a single image or group of images in a fancybox pop up with a slider, thumbnail selector and more!