The strange thing is that all other values work. For example, if I set it to 1400px via the theme styles, the 1100px value is overwritten. Only 1366px does not work.
I have already disabled all plugins (ACSS, Frames, WP Rocket etc). The problem still occurs.
As I am not able to reproduce the issue it’d be great if you sent some temporary credentials to help@bricksbuilder.io. Please include a link to this report.
the issue was that you had another theme style (Frames (Ignore)) with the container width also set to 1366px. Even though you did not set any condtions on this style this duplication confuses our CSS generation. I will have a deeper look at this but for now this is just an invalid setup. Make sure to delete the theme style (if you do not use it at all). For now I just removed the container width within this theme style and everything works as expected.
Thank you. But that can’t be the problem. I have 20+ installations and all have the identical setup. Even with duplicate theme styles (frames (ignore)) and everywhere it works.
it is the actual problem. Since the order in which the different theme styles and their conditions were created also matters it might be that you were lucky on the sites where this setup is working.
what I was saying is that “I will have a deeper look at this but for now…” – and then I provided a workaround.
Do you have any concrete issues on a site of yours? If so please let me know where I can see them so I can take them into account when investigating the issue.
I can’t replicate the issue with different themes having the same width, but it’s definitely an issue on stabilo’s site. It’s related to the entry in the width field, not the width calculated value, if that helps. (using a var to set container width the same in one theme is okay)
On his site, when two theme styles have the same 1366px container width entry neither style is applied. even if one is set to be excluded from the entire site. HTH
I’m sorry to open this Thread again, but I’m running Brick 1.9.7.1 and I still have this issue…
No matter what value I put into the Theme Style settings, the container width on the frontend stays at 1100px
Conditions of the theme are set to Entire Website.
ELEMENT-CONTAINER width is set at 1366px, but I also tried with the variable var(–content-width) with no success.
I have ACSS and Frames installed as plugins.
I tried also removing the values from the Frames (Ignore) Theme Styles, also without success.
What can I do? Styles on the frontend still get overridden by the CSS class:
Did you install ACSS after Bricks? If not then according to ACSS support this is probably the reason (have you raised this issue in the ACSS forum?). They suggest deactivating and then reactivating ACSS. I have my content width set to 1366px via the ACSS dashboard and am using var(–content-width) in the Bricks theme with no issues.
yes, I followed precisely the installation tutorial by ACSS. But I can try deactivating it anyway.
Do you think this is a problem related to ACSS? Because even if i do not use a variable but a fixed size in px (1366px) the issue is still there.
Just to highlight I tried many possible combinations of values between the two styles to try out if any of them work (e.s. setting both styles to the same value, setting one and leaving the other empty, and so on)