hello i am trying to add a js file this is my code but it doesn’t work, how can i correctly add js and css files in bricks?
You’re going to want to use an external code editor like WPCodeBox for that.
Hi Luis,
You don’t need either a plugin, nor than a child theme. Instead, you can add your own (or external) Custom CSS and Custom JavaScript globally from your WordPress dashboard under Bricks > Settings > Custom Code.
Please take a look at the Bricks Academy to find out more.
Example:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/rellax/1.12.1/rellax.min.js" integrity="sha512-f5HTYZYTDZelxS7LEQYv8ppMHTZ6JJWglzeQmr0CVTS70vJgaJiIO15ALqI7bhsracojbXkezUIL+35UXwwGrQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
Best regards,
timmse