Articles on: Magento 2 Pearl Theme User Guide

Pearl Theme styles not applied or design issues after switching Magento to Production Mode?

If you notice styles not applying or design issues after switching Magento to Production Mode, make sure you regenerate the Pearl Theme LESS/CSS after enabling Production Mode.



What to Do


You can regenerate from Admin or via SSH.


Option A — From Admin

Go to System → Tools → Cache Management and use Regenerate Pearl Theme LESS/CSS files.


Regenerate Pearl Theme LESS/CSS



Option B — From SSH (Magento CLI)

Run the following Magento CLI commands from your store root:


  • php bin/magento weltpixel:less:generate
  • php bin/magento weltpixel:css:generate --store="CODE"


Replace "CODE" with the store view code you want to generate for.



Why This Matters


If you switched to Production Mode without regenerating the theme’s LESS & CSS, some styles will not apply properly. In multi-store setups, CSS needs to be generated per store view.



Tips


  • After generation, if changes don’t appear immediately, clear caches from System → Cache Management.
  • For multi-store environments, repeat the weltpixel:css:generate command with the correct --store code for each store view.

Updated on: 17/09/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!