Our published page is not rendering properly but looks fine when previewed and from the builder editor.
Builder content link
Builder public api key
67d113c4afd947a7aa749b203e99ace6
Screenshots or video link
Code stack you are integrating Builder with
NextJS
Reproducible code example If you are having integration errors, please link to codesandbox or copy and paste your problematic code here. The more detail the better!
I think the publish page is not updating and it’s showing an older version, the testimonials section supposed to be a symbol, however, on the live page, it is still a section block which is incorrect.
I just added our How It Works component and redeployed the site on Vercel. The testimonial, learn more, FAQ, and footer are still messed up on the live page but look fine in editor and preview.
After further investigation, we’ve identified the actual issue causing the layout to break. It appears that some of the Tailwind classes are not being applied to your custom components, such as md:grid md:grid-cols-3 md:gap-8. These Tailwind classes are not applied to the footer custom component, and some of the applied style attributes are also missing.
Currently, I’m unable to fix the issue as the style tab is not available when editing symbols. Is this something you have disabled intentionally?
@manish-sharma Very interesting. No the style tab is not intentionally disabled. All of the styling is handled through the custom component. We rarely use the styling features in Builder.
Just to note the Tailwind classes you mentioned are present in the component code, but I see they are missing in the live page.
@manish-sharma I disabled component only mode. The solution you linked is not applicable to our use case. The tailwind classes are statically defined within our component code. We do not pass in any variables.
Hi Manish - Just wanted to follow up here. I put together another video trying to explain what I’m seeing. As far as I can tell, the tailwind classes are not being respected on builder hosted components. Do you have any suggestions on how we fix this?