Hello.
I’m trying to do something simple.
It’s supposed to show as 3 columns in desktop view, but 2 columns in tablet view and a smaller 2 columns in mobile view.
It works perfectly in Webflow designer as you can see here:
However, when I export and test it in a real browser, it doesn’t show 3 columns in any browser I used (Chromium, Edge, IE, Firefox, Opera). It only shows 2 columns in desktop browsers and one column in mobile view.
You can see the live version here:
So in summary, it works fine in the Webflow Designer, but not in a real browser. It doesn’t work in either Desktop or Mobile views.
This is due to code being formatted properly with whitespace (tabs and spaces) when exported. If there are any space between inline-block tags, there will be an additional invisible margin.
To solve this problem, either float all the divs left, or remove spaces from the code.
Thanks so much @samliew for helping and for your reply.
I did what you suggested and removed the spaces. In fact I simply minified the html using an online tool and it seems to work now!
Thank you again.