Repository navigation
CSS Classes
In the list below, you will find many CSS classes that can be used to add specific LSX styling to your child theme or custom plugin.
Titles
-
title-lined
-
lsx-subheading
-
lsx-title
Columns or Groups:
- lsx-shadow
List:
- lsx-list
Buttons:
-
btn
-
btn btn-lg
-
btn cta-btn
-
btn border-btn
-
btn white-border-btn
-
btn cta-border-btn
-
btn tertiary-btn
-
btn tertiary-border-btn
-
btn secondary-btn
-
btn secondary-border-btn
Boostrap Button Sizes:
-
btn-lg
-
btn-sm
-
btn-xs
Boostrap Hide items:
-
hidden (hides in all sizes)
-
hidden-xs (hides in extra small)
-
hidden-sm (hides in small)
-
hidden-md (hides in medium)
-
hidden-lg (hides in large)
These classes can be combined, if you want for example a banner image that only shows on mobile, you can add the class 'hidden-md' and 'hidden-lg'
Bootstrap Grid:
Boostrap Alerts:
-
alert alert-success
-
alert alert-info
-
alert alert-warning
-
alert alert-danger
Full width classes:
-
lsx-full-width
-
lsx-full-width-alt
-
lsx-full-width-base
-
lsx-full-width-base-small
-
eg. https://to-demo.lsdev.biz/tour/7-day-luxury-botswana-educational/ - "Related Tours" section is full width.
For gutters:
-
8.5rem
-
4.25rem
-
2.4rem
Bouncing arrow component:
-
Hero section of https://to-demo.lsdev.biz/)
-
-
[banner_navigation extra-top='-100']
-
-
NOTE: adjust -100 to another number, arrow jumps to the section of the page.
Look through documentation:
Use available mixins:
-
@include lsx-button-scaffolding();
-
@include lsx-button-colour();
Also variables:
-
$lsx-gap
Structure CSS in child theme like so:
Look at sarie_color_palette_setup() function, helps a lot and speeds up colour settings:
Good examples in Southern Destinations child theme: