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

CSS not being loaded #68

Closed
squareclouds opened this issue Mar 3, 2022 · 2 comments
Closed

CSS not being loaded #68

squareclouds opened this issue Mar 3, 2022 · 2 comments

Comments

@squareclouds
Copy link

squareclouds commented Mar 3, 2022

hey everyone,

i am using the latest version of both plugin and kirby (kirby 3.6.2) and the plugin is working fine, but in the panel the css is not being loaded. for the time being i copied everything from the index.css into my custom-panel.css. i am also using the autofocus plugin (which also is working fine), but i think that might be irrelevant

any idea why this is happening?

@flokosiol
Copy link
Owner

I set up a fresh Kirby Starterkit (3.6.2) with the latest Focus plugin (3.0.8) and everything seems fine.

The styles are automatically included in /media/plugins/index.css. Could you please have a look if this file exists and if css selectors like .kirby-focus-field .focus-box are included? Kirby should take care of this.

kirby-3 6 2_focus-3 0 8

@squareclouds
Copy link
Author

strange, right now i:

  • deleted the css code from my custom panel (i had copy pasted it in there as a workaround)
  • tested like that and now it worked
  • removed the link to the custom panel css from the config, just to check because i had done this after installing the plugin and it didnt work, i thought maybe loading the custom css was causing the problem
  • and this time it worked as well

dont know what to tell you ^^ strange.... specially because i tested a couple of combinations. we can close this now then :) thank you!

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