Jump to content
hermit75

CSS and JS hookHeader on mobile pages

Recommended Posts

I'm having trouble figuring out why some unnecessary CSS and JS files load on mobile pages, and some do not.

 

For example, productscategory.css loads on mobile pages, but crossselling.css does not. Their hookHeader functions look the same, and they both load in the exact same way in the head of non-mobile pages.

 

If I could figure out what prevents crossselling.css from loading on mobile pages, I might be able to apply that code/logic to a handful of other CSS and JS files that load on mobile pages, but are not needed on mobile pages.

 

Does this question make sense?

Edited by hermit75 (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

It makes perfect sense to me, I have exactly the same concern.

 

I hope someone skilled can help us :)

  • Like 1

Share this post


Link to post
Share on other sites

Could anyone please give suggestion on how to start loading crossselling.css in hookHeader on mobile pages?


Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More