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

Custom css theme loads but gets overwritten by default theme, possibly issue with z-index? #1161

Open
mlubej opened this issue Dec 7, 2022 · 0 comments

Comments

@mlubej
Copy link

mlubej commented Dec 7, 2022

I have a custom css file which loads an image and adds it in the top right corner. I add the custom css using the front matter:

---
theme : "blood"
customTheme : "custom"
___

custom.css content:

body {
    background-image: url(figs/logo.png);
    background-size: 10%;
    background-repeat: no-repeat;
    background-position: 95% 5%;
}

When I refresh I see the image from the custom css file loaded, but then quickly overwritten with the theme background, which made me think there is an issue with the z-index or something.

  • Tried this with versions 4.3.3 back to 4.1.0, same issue
  • It works for 4.0.3, but this one has other issues, like html comment background settings not working
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

1 participant