I built a website which is all static pages and the main pages uses the MixItUp plugin.
Thanks to @sabanna (Thank you a lot), I have found the tutorial here: Filtering plugins and follow the steps to apply MixItUp to my website.
But sadly, when I publish the site, the elements don’ts display at all.
I did make mix items display none when the problem happened.
Maybe I was working on the design site while you were taking a look at it (I was trying many options on the display setting to find out where the problem come from. So you might saw the mix items display was not set none.)
On the publish site, when sort buton wasn’t clicked, everything works fine. Items display with 4 columns. The distance between “head items” is 24 (mix items has the padding of 12 each sides, “head items” are nested inside mix items)
I think I know what cause this issue. The inline-block value.
In the designer, there is no spacing between the tags, so inline-block will stick to each other. When you publish, perhaps you turn on the beautify HTML option in the site settings. Beautify means each element has it’s own line. So when there are spaces in the code, inline-block will have additional 5px due to the whitespace in the code. It may also be a result of plugins code too.