Hyvä pages look unstyled
Symptom
On a store with a Hyvä theme, the withdrawal pages or the withdrawal card on the order page look broken: plain text, buttons without colour, fields without spacing, or the steps don't react. On a phone, the item table of Select Items scrolls sideways instead of showing one card per item. A Pro part, such as the seal photo control or the receipt check page, can look the same.
Checks
Your developer runs these checks. Each one needs access to the server.
- Check that the Hyvä package of EU Withdrawal is installed and enabled. It is, in a version that fits the module. For EU Withdrawal 1.2, that is Hyvä package 1.1.0 or later. Without it, the pages are drawn with the standard Magento templates, which a Hyvä theme can't run.
- With Pro, check the Hyvä packages of Seal Photos and Receipt Verify the same way. They are installed and enabled.
- Ask when your theme's styles were last rebuilt. After the Hyvä packages were installed or last updated. The pages are styled by your theme's own style file, which includes the module's styles only after a rebuild. A new package version can use styles the old build doesn't have.
- If the store runs in production mode, ask whether the static files were deployed after the rebuild. They were.
- Clear the Magento cache in System → Cache Management and reload the page in a private browser window. The page still looks unstyled. Otherwise an old copy of the page was the cause.
Expected result
The withdrawal pages show in your theme's style, with the progress bar on top. On a phone, Select Items shows one card per item without sideways scrolling.
Fix
- If check 1 or 2 failed: install the missing package, then rebuild the styles. The commands are in Packages for a Hyvä storefront and, for Pro, on Activate Pro. If Composer refuses the package, see Composer reports a version conflict.
- If check 3 failed: rebuild the styles in the
web/tailwindfolder of your Hyvä theme, as in step 2 of Packages for a Hyvä storefront. Do it again after each update of a Hyvä package. See Updating, disabling and removing. - If check 4 failed: deploy the static files once more, as in In production mode, compile at the end.
- If check 5 failed: nothing more to fix. Clear the cache after every rebuild.
If the pages still look unstyled after a rebuild, your theme may not build the styles of third-party modules. Ask your developer to compare its style build with the default Hyvä theme. If that doesn't help, contact MageMe support with your Hyvä version, the versions of the EU Withdrawal packages and a screenshot of the page.
Related
- On a Hyvä storefront: what the Hyvä packages draw and which ones you need.
- Installation: the packages and the style rebuild.
- Compatibility: the Hyvä versions the packages support.