Skip to content

Problem getting it to work #2

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

Open
cbourdeau80 opened this issue Jun 7, 2019 · 3 comments
Open

Problem getting it to work #2

cbourdeau80 opened this issue Jun 7, 2019 · 3 comments

Comments

@cbourdeau80
Copy link

I added the app to the appcatalog without deploying it to every site. Then in the site I want to use it I added the app. I put a custom.css it the style library and it doesn't work. What I'm I doing wrong?

@hugoabernier
Copy link
Owner

Thanks for trying the extension, I wrote a few frequently asked questions posts that may help:

Take a look and let me know if you don't have any luck!

@cbourdeau80
Copy link
Author

cbourdeau80 commented Jun 14, 2019 via email

@siowfun
Copy link

siowfun commented Jun 25, 2020

For site collection with url like https://domain/sites/subSite, the url is pointing to https://domain/ instead of https://domain/sites/subSite 's Style Library.

We can change the InjectCssApplicationCustomizer.ts init for the following to solve that:

customStyle.href = this.context.pageContext.site.serverRelativeUrl + cssUrl;

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

3 participants