Site logo

Archived topic

Typography exclusion from Beaver Builder editor

5 replies · Started by John on October 9, 2022

Viewing posts 1–6 of 6

Hi there,

I am using the following snippet to exclude font styling from the wp-admin area:
add_filter( 'generate_show_block_editor_styles', '__return_false' );

But when I use the Beaver Builder editor, it seems to override this and the editor takes on the stylings of some of the H tags.
This has only happened since installing a local font which is not available in the general Google font repository.

Any ideas on how to exclude the handwritten font from appearing here too?

CHeers!

Hi Fernando,

Sorry I was off for a few days and only getting back to this project now.
The site in question is this one:
https://staging.nwhswa.com

here is a screenshot of the page editor:
https://snipboard.io/cp9mO5.jpg

You can see the font where it says "Background Color", "Border" etc, is all in the font style which has been uploaded via CSS:

/* square-peg-regular - latin */
@font-face {
  font-family: 'Square Peg';
  font-style: normal;
  font-weight: 400;
  src: url('https://staging.nwhswa.com/wp-content/uploads/2022/10/square-peg-v2-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Square Peg'),
       url('https://staging.nwhswa.com/wp-content/uploads/2022/10/square-peg-v2-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('https://staging.nwhswa.com/wp-content/uploads/2022/10/square-peg-v2-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('https://staging.nwhswa.com/wp-content/uploads/2022/10/square-peg-v2-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('https://staging.nwhswa.com/wp-content/uploads/2022/10/square-peg-v2-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('https://staging.nwhswa.com/wp-content/uploads/2022/10/square-peg-v2-latin-regular.svg#SquarePeg') format('svg'); /* Legacy iOS */
}

Thanks!

OK - I have added you to the site.
Please review and let me know if you can access the account.

Hi there,

can you ask Beaver Builder if they have a filter to remove the theme styles in their editor ?

This archived topic is closed to new replies.