Beaver Builder Posts

Changing a Submenu to a Mega-menu with Beaver Builder 1

Changing a Submenu to a Mega-menu with Beaver Builder

By Pieter Hartsook / February 25, 2020 / 0 Comments
Posted in , , ,

Sometimes you want to present a navigation menu as a horizontal “mega-menu” instead of a hierarchal dropdown menu. This is really simple if you are using Beaver Builder. The mega-menu feature is built in, but is unfortunately hidden. You have to know the secret to turn it on.

Read More
Remove the unwanted padding on Gutenberg video block displayed in Beaver Themer templates 2

Remove the unwanted padding on Gutenberg video block displayed in Beaver Themer templates

By Pieter Hartsook / April 5, 2021 / 0 Comments
Posted in , , ,

If you use Beaver Themer to layout single post pages and format the post content using the Gutenberg Block Editor you notice when embedding a video that the “Resize for smaller devices” switch is enabled by default on video blocks. The purpose of this setting is to maintain the original aspect ratio of the video and the responsive size of the browser changes. But leaving this set when the post content is displayed in a […]

Read More
Formatting a custom number field to add commas 3

Formatting a custom number field to add commas

By Pieter Hartsook / February 9, 2020 / 0 Comments
Posted in , , , ,

I needed to format a number field (999,999,999), coming from a custom field number-format (no other characters permitted in the number entry field). No “$” no commas or decimal points, etc. to output as a normal currency format. When displaying the number I could add a “$” in front of the number, but couldn’t find a way to format the number since you can’t do that with CSS.

Read More
Storing javascript in a metabox.io Custom Field textarea 5

Storing javascript in a metabox.io Custom Field textarea

By Pieter Hartsook / March 21, 2020 / 0 Comments
Posted in , ,

For some client projects I needed to embed javascript code in a page (Post). I used a custom field textarea to insert the code when creating the Post. The problem was the default for text fields was to run them through a sanitizer.php to strip out any type of code that might be malicious. This is a good thing. But in this case it defeats the purpose. So how to disable the sanitizing for just […]

Read More
Skip to content