Does anyone know if it’s possible to get the page width Bricks is using as a PHP or CSS variable? Seems to default to 1100px. I’d like to use it in a child theme for some tricky custom layout elements, and it would be great to reference it from somewhere rather than re-define it.
You could find it in the \Bricks\Theme_styles
Class with the method get_setting_by_key
and then look if you can get the ‘default’ Setting for the Container this way. Just take a look inside the theme-styles.php
file and look if you find what you are looking for.
Cheers Suat