i have created one instance in node editor in which on clicking a button class is added or removed from certain elements like toggle, this only works if the class is already added for those elements in the builder.
First: are you talking about global classes? If yes, Bricks won’t load the styles if the class is not set initially. This is not a Bricksforge issue. You need to write your css styles manually in that case.
Regarding the second issue: could you try to reproduce it in a new environment and send the steps to reproduce?
Apologies for late response.
the second issue got fixed i did two things first i deleted and reinstalled the bricksforge plugin and also the wp-memory-limit was set to 32mb that i increased to 128mb. which might have been the main cause, Not sure.
as for the first issue i am talking about the classes created through the bricks builder. actually i am not from a coding background and new to web dev. By "you need to write your CSS styles manually " do you mean i need to define class and its properties in a snippets tool and use it?
When you create global classes through the Bricks Builder UI (top left), their styles are only loaded if the class is applied to an element. If the class is not assigned to an element—such as when you intend to apply it later via the node editor—Bricks will not load the styles. This is because Bricks performs server-side checks to determine whether the styles are needed.
To ensure your class is always available, you’ll need to define it using CSS manually. You can do this in the Custom CSS tab, a child theme, or a plugin like WPCodebox.