Home>Support>Page Builder CSS not loading on custom post templates

Page Builder CSS not loading on custom post templates

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi, I’m a big fan of the SiteOrigin page builder and use it frequently on my WordPress sites. Today I ran into a problem: the CSS isn’t loading when I use it on certain pages.

I have tried on different installations of WordPress
I have tried deleting and re-installing page builder
I have tried deactivating all plugins
I have made sure the appropriate post types are enabled in the Page Builder settings
I have tried on different themes

Page builder does work on default WP themes and earlier themes I’ve built, but not on the current theme I’m working on. I’ve done a bit of digging in the plugin documentation and it seems that there are no supporting functions required to enable the css and that the content filter is the only thing required.

The single post template displaying the page builder concept relies on a very rudimentary loop:

<?php 

get_header(); 

if ( have_posts() ):

	while ( have_posts() ): the_post();

		echo '<div class="main-content">';

			the_content();

		echo "</div>";

	endwhile; wp_reset_postdata();

endif;

get_footer();

Is there anything I’m missing here? Any help would be greatly appreciated :)

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 8 months ago Alex S
    Hi, I Work Here

    Hi Danie,

    Sorry to hear you’ve been having issues with getting SiteOrigin CSS working with your theme. To clarify, have you got wp_head(); in your header? That’s what we use to output the CSS so if that’s not present, it won’t work correctly.

  2. 8 years, 6 months ago Daniel Bogre Udell

    Hi Alex,

    I thought I’d responded to this thread, my apologies for dropping the ball. That was the problem! It had been a while since I’d dug into WP and had forgotten about that :)

    Thanks for your help,
    D

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More