Hi, I am trying to move the fl-post-header outside the container on the default page template. I have managed to display this on the pages i create with the plugin and have styles with css but i have pages that i cannot access due to a cart plugin so i cannot apply the heading styles to match the rest of the site.
[Content Hidden]
Hey Matthew,
I checked both links above just now and their .fl-post-headers look the same. Did you figure it out?
Ben
[Content Hidden]
Hi Matthew,
You’ll need to edit the theme files to change the template of Posts. The builder only replaces the WP native editor, you can’t use the builder to change the layout of Posts. You’ll need either a theme builder for that, or PHP/WP knowledge so you can hard code it.
Thanks,
Danny
Ok, I have created the child theme so i will need to create a new blog/default layout?
Hi Matthew,
If you want to match the style on the pages you linked above on your single posts. You will need to do the following:
- First, be sure to use the BB Child Theme.
- Now grab the single.php file from the BB Theme and copy it to your BB Child theme.
- Once copied, go to your WordPress Admin Dashboard > Plugins > Add New and install, activate the Insert Pages plugin.
- Once installed, create a new page call it something specific as we will need the name later on and load up the Builder and select Blank template.
- Now either add your Header module to that page if you have saved it or recreate it using the modules.
- Once saved, click done and publish the changes.
- Now make a note of the name and open the single.php file (the one in your child theme) and above this code:
<div class="container">
<div class="row">
Add the following:
<?php echo do_shortcode( "[insert page='ADD YOUR PAGE NAME HERE' display='content'] "); ?>
So it looks something like this:
<?php get_header(); ?>
<?php echo do_shortcode( "[insert page='ADD YOUR PAGE NAME HERE' display='content'] "); ?>
<div class="container">
<div class="row">
Save the changes, upload the file and when you refresh your single post, that module should now be in all your Posts post type single posts.
I have also provided you with a link to a video which goes through the steps above - http://forum.wpbeaverbuilder.com/support/q/use-saved-row-or-template-as-headerfooter/#post-77427
Hope this helps.
Thanks,
Danny
Thank you very much Danny.
No problem, Matthew. Happy to assist.
Thanks,
Danny