Popup CSS is missing, due to conflict with Pastel theme

Created by Kaylin Nguyen, Modified on Wed, 20 Mar 2019 at 11:44 AM by Nicole Le

Question: 


Everything is working fine except css is not loading

Bss_popup extension css is missing.


Cause: 

Because min js and css deploy only accepted on Pastel/buypastel theme while CSS file sets min css.


Solution: Deploy css after disabling min js on backend. Change css loading logic to call from layout.


Add this file

/home/pastel/buypastel.com/app/code/Bss/Popup/view/frontend/web/css/source/_module.css


And edit file /home/pastel/buypastel.com/app/code/Bss/Popup/view/frontend/layout/default.xml

Line 22 - 24

<head>

<css src="Bss_Popup::css/source/_module.css" media="all" />

</head>


If you need any helps, please feel free to reach us on ticket system.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article