- This topic has 5 replies, 3 voices, and was last updated 5 months ago by
David.
-
AuthorPosts
-
October 9, 2022 at 3:23 pm #2368137
John
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!
October 9, 2022 at 11:01 pm #2368322Fernando Customer Support
Hi John,
For reference, can you provide the link to the site in question? Can you also point us to where this “handwritten” font is appearing in the page?
You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
October 17, 2022 at 5:07 pm #2376872John
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.comhere is a screenshot of the page editor:
https://snipboard.io/cp9mO5.jpgYou 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!
October 17, 2022 at 10:02 pm #2376991Fernando Customer Support
Hi John,
I see. Can you also share temporary admin credentials so we can take a closer look?
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
October 20, 2022 at 3:23 pm #2380525John
OK – I have added you to the site.
Please review and let me know if you can access the account.October 22, 2022 at 6:43 am #2382084David
StaffCustomer SupportHi there,
can you ask Beaver Builder if they have a filter to remove the theme styles in their editor ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.