Hi @leekane,
Please refer to this article to know how to apply custom CSS to the Gutenberg block.
I hope it will help. Feel free to reach out to us if you have any further queries.
Kind regards,
Herman 🙂
Hi thanks for the link, but can you be clear in saying there is no way of switching of the front-end styles inside the Gutenberg editor via Astra.
If so, i think it would be a good idea to suggest a default style for Gutenberg editor and then make this a feature for the customer to be able to switch on or off if they want. I personally like a blank editor in Gutenberg.
However my work around is just to style everything in the child CSS and set the background and text colours in the Astra customiser so they reflect in the editor.
You see i have a dark website witch makes the Gutenberg controls on the page hard to see. This would also help those who might be visually impaired to some degree.
Kind Regards
Lee
Hi @leekane,
Unfortunately, there’s no feature to do that in the Astra theme. And to be honest, I don’t even think it exists in other themes? At least, personally, I haven’t seen it.
Anyway, there’s a filter you can use to remove the CSS from Astra. Please kindly refer to this doc.
I hope it helps. Feel free to reach out to us if you have any further queries.
Kind regards,
Herman 🙂
Hi, thanks for replying. Maybe you might consider mentioning this via one of your channels to WordPress as a future feature for all themes. I would certainly like to see it implemented.
I like the Astra Theme and have found it quite easy to customise and it has some good features.
Kind Regards
Lee
-
This reply was modified 2 years, 9 months ago by
leekane.
Hello @leekane
Thank you for your suggestions! We shall see if we have further requests moving ahead.
Commonly, users chose a theme because they like the features of the theme and how the theme would style the site elements. So, it doesn’t quite make sense when users use a theme on their site but they don’t want to use the theme’s style.
Anyway, do let us know if there’s anything else we can help you with.
Have a nice day and week ahead. Stay safe!
Kind regards,
Herman 🙂