Skip to content
AVA WordPress Theme

Miscellaneous

Ava has helper class names that you can enter in any CSS class name field of WPBakery Page Builder, or use in your own HTML.

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

ClassWhat it does
text-leftAligns text to the left
text-centerCentres text
text-rightAligns text to the right
text-justifyJustifies text
text-nowrapKeeps text on one line
ClassWhat it does
mobile-text-leftAligns text to the left on small screens
mobile-text-centerCentres text on small screens
mobile-text-rightAligns text to the right on small screens

You can use the Bootstrap 3 responsive utility classes, listed in the Bootstrap 3 documentation. For example, to hide an element only on small devices such as smartphones, add the class hidden-xs.

There is a class name for each font you set in Customize › Typography Options. For example, to give a module such as Tabs the same font as your headings, enter heading-font in the module’s CSS class name field.

ClassFont
heading-fontHeading font
body-fontBody font
secondary-fontSecondary font
menu-fontMenu font
sub-menu-fontSub-menu font

A one-page design takes two steps:

  1. Create a page whose content rows each have a unique ID.
  2. Create a navigation menu whose links point at those IDs.

We recommend WPBakery Page Builder for this, because it makes the page much easier to manage.

  1. Split your content into several rows. Give every row that the menu should scroll to its own Row ID.

    The WPBakery row settings with a unique ID entered in the Row ID field

  2. Create your menu and add a Custom Links item that points at the row ID.

    The Custom Links box in Appearance › Menus with a link to a row ID such as #about