CSS Framework

We don’t use Bootstrap or any other CSS framework in Page Builder Framework to reduce loading time. Instead it comes with its own, minimalistic CSS framework. Take a look at the helper classes below to easily customize the look of your website.


To create the grid container, add the .wpbf-grid class to a parent element. To determine the child elements width, add the class .wpbf-* to determine how the units shall be sized.

<div class="wpbf-grid">
    <div class="wpbf-1-2"> ... </div>
    <div class="wpbf-1-2"> ... </div>

    <div class="wpbf-1-3"> ... </div>
    <div class="wpbf-1-3"> ... </div>
    <div class="wpbf-1-3"> ... </div>

    <div class="wpbf-1-3"> ... </div>
    <div class="wpbf-2-3"> ... </div>

Available Width

The width-classes below can also be used outside the grid component, for instance in combination with the container component (sections). Read more about that below.

Class Description
wpbf-1-1 100% of the available width
wpbf-1-2 divides grid into halves
wpbf-1-3 to wpbf-2-3 divides grid into thirds
wpbf-1-4 to wpbf-3-4 divides grid into fourths
wpbf-1-5 to wpbf-4-5 divides grid into fiths
wpbf-1-6 to wpbf-5-6 divides grid into sixths
wpbf-1-10 to wpbf-9-10 divides grid into tenths

Responsive Width

Page Builder Framework provides a number of very useful responsive width classes. They work just like the usual width classes, except they are prefixed, so that they only come to effect at certain breakpoints. This is great to adjust your layout and content for different device sizes.

Class Description
wpbf-* No responsiveness
wpbf-small-* Affects device widths above 480px. Grid columns will stack on 480px & smaller sizes.
wpbf-medium-* Affects device widths above 768px. Grid columns will stack on 768px & smaller sizes.
wpbf-large-* Affects device widths above 1024px. Grid columns will stack on 1024px & smaller sizes.
wpbf-xlarge-* Affects device widths above 1200px. Grid columns will stack 1200px & smaller sizes.


In the example below, the first 2 columns will be stacked at 480px, meaining they’re displayed in halves above 480px. In the second row, the 3 columns will be stacked at 768px, meaning they’re displayed in thirds above 768px.

The third row takes it to an extreme to show you what’s possible by declaring a separate width for each breakpoint. Let’s break it down:

  • on devices above 1200px, the container is using the 100% of the available space
  • on devices above 1024px, the container takes 3/5 of the available space
  • on devices above 768px, the container uses one third of the available space
  • on devices above 480px, the container uses 50% of the available space
  • on devices at 480px or below, the container falls back and uses 100% of the available space.

Otherwise, if we also had declared wpbf-1-3 for the last row, we’d see one third of the space being used on devices at 480px and below with no full-width fallback.


Grid Gutter

You can change the space between the grid by simply adding a class to the grid container.

<div class="wpbf-grid wpbf-grid-large"> ...


<div class="wpbf-grid wpbf-grid-medium"> ...


<div class="wpbf-grid wpbf-grid-small"> ...


<div class="wpbf-grid wpbf-grid-collapse"> ...


<div class="wpbf-grid wpbf-grid-divider"> ...



On full-width pages, you can easily create a centered boxed section that receives its width from the width setting in the Customizer under General -> Layout -> Page Width (default: 1200px).

CSS-class: wpbf-container & wpbf-container-center

<div class="wpbf-container wpbf-container-center">Hello World</div>

Margin & Padding

Coming soon!



Apply the themes default button styling to your links using the wpbf-button class.

CSS-class: wpbf-button

<a class="wpbf-button" href="#">click me</a>

click me

Primary Button

Add the wpbf-button-primary class to modify the look of the default button (wpbf-button). The button will use the accent color from the WordPress customizer as a background color.

CSS-classes: wpbf-button wpbf-button-primary

<a class="wpbf-button wpbf-button-primary" href="#">click me</a>

click me


To use the theme’s default table styling, add the wpbf-table class to your table element.

CSS-class: wpbf-table

<table class="wpbf-table"> ... 

In the example below, we see a table that has been modified through helper classes.

CSS-classes: wpbf-table-small & wpbf-table-striped

<table class="wpbf-table wpbf-table-small wpbf-table-striped"> ... 

In this example we display a larger table with hover effect.

CSS-classes: wpbf-table-large & wpbf-table-hover

<table class="wpbf-table wpbf-table-large wpbf-table-hover"> ... 


Full width images

This is handy if you’re working on your blog layout for instance. With this helper class your image will set to 100% width so they fit its parent container.

CSS-classes: wpbf-img or wpbf-image

<img class="wpbf-image" src="https://wp-pagebuilderframework.com/wp-content/uploads/2017/03/wpbf-clean-design.jpg">


CSS-classes: wpbf-float-left or wpbf-float-right


CSS-classes: wpbf-clearfix

Button Modifiers

Button modifiers are classes that can added to the button element above, to change its look.

Small Buttons: wpbf-button-small

Large Buttons: wpbf-button-large

Full-Width Buttons: wpbf-button-full

click me

click me

click me

Text Modifiers

Left aligned: wpbf-text-left

Right aligned: wpbf-text-right

Center aligned: wpbf-text-center

Justify: wpbf-text-justify

Uppercase: wpbf-text-uppercase

Show Element after Pageload

Under certain circumstances, you may want to show a specific type of content only after page load. To do that, simply apply the CSS-class opacity to your element. This will set the opacity to 0 and trigger a js animation (FadeIn) after the page has loaded.

CSS-Class: opacity

Page Builder Framework

A Page Builder’s best friend.

Sign up for the Newsletter

Get notified about the latest features and updates.

Join the Community

Cookie Preference

Please select an option. You can find more information about the consequences of your choice at Help. Privacy Policy | Imprint

Select an option to continue

Your selection was saved!



To continue, you must make a cookie selection. Below is an explanation of the different options and their meaning.

  • Accept cookies:
    All cookies such as tracking and analytics cookies.
  • Reject tracking cookies:
    No cookies except for those necessary for technical reasons are set.

You can change your cookie setting here anytime: Privacy Policy. Imprint