Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add css to head via observer #35

Closed
Vincenkt opened this issue Dec 31, 2015 · 2 comments
Closed

How to add css to head via observer #35

Vincenkt opened this issue Dec 31, 2015 · 2 comments

Comments

@Vincenkt
Copy link

In magento 1, I have used addCss function to add css file to head. However, I don't see this fucntion in magento 2. Can you help me?

@csdougliss
Copy link

@Vincenkt I think you created this in the wrong repo. This should be in magento2

@Vincenkt
Copy link
Author

Vincenkt commented Jan 7, 2016

I found a solution by way addPageAsset method to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants