I’ve set up a global theme style to use across the whole site, but when editing a page in bricks which is not a template, the page creates it’s own version of the theme styles and a new css file. I’ve just worked out you have to edit theme styles in a template and not in a page built with bricks!
I added the bricks form to a page and now when I try to overwrite/reset the css for the labels, it’s not working. The page has created it’s own css for the label (and other things) when I add the form to this page.
How can I remove/reset the css for the file post-12.min.css? Maybe we have to set up the form as a template itself to then add to the page to get around this?
Hi Richard,
Thanks so much for your report! I’m honestly not sure I understand the problem correctly…
It doesn’t matter where you edit your theme style (whether in the template, a page, or anywhere else), because it’s global. If the theme style condition is set to “Entire Site”, the styles will be displayed everywhere. Unless you override them individually on an element.
The individual styles for the page with the ID 12 are stored in post-12.min… . The theme styles in theme-styles.min…css.
Your screenshot shows that you changed the styles for the labels of the form directly on the form element on your page. If you remove them, the theme styles will be used again.
Thanks, but that’s the problem. All I did was add the form to a page, and it set the styles by default. I can’t remove them as there’s nothing to remove.
@timmse Richard is actually right. at least i could reproduce the issue:
when one uses inline styles it seems to accept the theme styles for the form element , as soon i switch to external files the theme style gets overwritten by default post styles when the element has not been styled on the page /template.
Hi Timmse
Thank you very much for welcoing me and your answer. The site link is as follow: https://staging22.mfsengineering.com.au/
when I uncheck the body font style in inspect tools, then the theme style is rendered correctly
Hey Fatima,
A few parameters come together on the website (Elementor alongside Bricks (:(), Minifying, HTML minifying, …) so it’s hard to see anything, but the basic problem is that the theme styles are getting overridden by https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/scss/_reboot.scss