Archived topic
Global styles not applying to GeneratePress buttons
35 replies · Started by Francesca on February 13, 2022
Thanks for that Fernando. Please note the following queries:
1. What was the other code in "Additional CSS" doing there? (I did not manually add it and no one else has had access to do that.)
2. I don't know what the figcaption class is for?
1. The other code here are added when importing Health template. The missing } was at the bottom. It was probably overwritten when copying and pasting?
2. This is an example of a figcaption: https://share.getcloudapp.com/2NuzYxLJ
The code added for the figcaption adds the spacing needed so that the caption isn’t too close to the shadow. I realize that this code should be outside the media query. I’ve fixed the code so that it applies to all views now.
Ok that's great thanks Fernando.
Thanks very much to you and the rest of the team for working through this issue to resolution. We got there in the end. :)
You’re welcome Francesca! We’re glad to be of assistance! Feel free to reach out anytime if you’ll need assistance with anything else. :)
Hi Fernando, just one last question about this :)
How do I make the custom CSS for gb-button apply to the Gutenberg editor?
Hi there,
see Toms reply here about adding styles to the editor:
https://generatepress.com/forums/topic/local-font-not-rendering-in-editor/page/2/#post-2122096