Skip to content
NaturaLife WordPress Theme

Miscellaneous

NaturaLife has some useful class names. Use them in the CSS Classes field of an Elementor widget, section or column, or anywhere you write HTML yourself.

ClassWhat it does
rt_lightboxAdd it to an image or video link (YouTube or Vimeo only) to open the media in a lightbox.
ClassWhat it does
boxedBoxed design
shadowShadow 1
shadow-2Shadow 2
shadow-3Shadow 3
ClassWhat it does
hover-shadowAdds a shadow on mouse over
hover-opacityLowers the opacity on mouse over

aligncenter, alignleft and alignright align an element in the middle, on the left or on the right.

ClassWhat it does
text-leftLeft-aligned text
text-centerCentred text
text-rightRight-aligned text
text-justifyJustified text
text-nowrapNo text wrapping
ClassWhat it does
mobile-text-leftLeft-aligned text on small screens
mobile-text-centerCentred text on small screens
mobile-text-rightRight-aligned text on small screens

You can use the responsive display classes of Bootstrap, described in the Bootstrap display utilities. For example, to hide an element on phones and show it from tablets up, use d-none d-md-block.

There is a class name for each font you choose in Typography Options. For example, to use the heading font in a widget such as a table, add heading-font to the widget’s CSS Classes field.

ClassFont
heading-fontHeading font
body-fontBody font
secondary-fontSecondary font
menu-fontMenu font
sub-menu-fontSubmenu font
ClassColour
body-font-colorBody font colour
primary-font-colorPrimary font colour
light-font-colorLight font colour
heading-colorHeading font colour

A one-page design takes two steps:

  1. Create a page whose sections have unique IDs.
  2. Create a menu that links to those IDs.

Create a new page, or edit an existing one, and give each section that the menu should jump to a unique ID.

There are two ways to do this in Elementor:

  • Enter the ID in the CSS ID field on the Advanced tab of a section or column.

    The Advanced tab of an Elementor section with unique-section-id in the CSS ID field

  • Or add Elementor’s Menu Anchor widget above the section and enter the ID there.

    The Menu Anchor widget in Elementor with unique-section-id in The ID of Menu Anchor field, and the anchor placed above a section

  • Create a new menu in Appearance › Menus.

  • Add a Custom Link to the menu with the URL /#unique-section-id, using the ID of the section on the page.

    A menu with custom links such as /#about-us, added from the Links box with the Add to Menu button