Skip to content
BusinessLounge WordPress Theme

Miscellaneous

BusinessLounge has CSS classes that you can enter in the CSS class field of a page builder element, or use in your own HTML.

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

Use aligncenter, alignleft or alignright to align an element.

ClassEffect
text-leftLeft-aligned text
text-centerCentred text
text-rightRight-aligned text
text-justifyJustified text
text-nowrapText does not wrap
ClassEffect
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 Bootstrap responsive utility classes. For example, to hide an element only on small devices such as smartphones, use the hidden-xs class.

Each font you choose in Typography Options has a class. For example, to use the heading font in an element such as tabs, enter heading-font in the element’s CSS class field.

ClassFont
heading-fontHeading font
body-fontBody font
secondary-fontSecondary font
menu-fontMenu font
sub-menu-fontSub-menu 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 needs two things:

  1. A page whose rows or sections have unique IDs.
  2. A navigation menu whose items point to those IDs.

Create a new page or edit an existing one, and define the sections that the menu items will point to.

Elementor gives you two ways:

  • 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 entered in the CSS ID field

  • Or add Elementor’s Menu Anchor element above the section.

    The Elementor Menu Anchor element on the page, with unique-section-id entered in The ID of Menu Anchor field

Open the settings of a row and enter the same ID that the menu item uses, as shown below.

The WPBakery Row Settings window opened from the row's pencil icon, with unique-section-id entered in the ID field

Create a new menu in Appearance › Menus (see Navigations). Add a Custom Link for each section, with a URL such as /#unique-section-id that matches the ID of a section on the page.

The menu editor with a custom link whose URL is /#about-us, added from the Links box with Add to Menu