Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to load custom theme style on last head position ?
steam
✭
Hello,
Somebody know how to load theme custom style in the last position, after styles of applications and plugins?
I want to overwrite some reactions yaga styles.
Thank you
0
Best Answers
-
vrijvlinder MVP
All you need is the CSSEDIT plugin and write your css changes in there. No need to use another style sheet.
5 -
R_J Admin
I would also recommend the CSSEdit plugin, but I understand that it might look senseless to have an extra plugin for themeing when you already have a custom theme.
Although I guess it would be possible to take influence on the order of the css files, I wouldn't recommend doing so. I think you should be able to override the YAGA styles in your custom.css by using a higher specificity
1
Answers
All you need is the CSSEDIT plugin and write your css changes in there. No need to use another style sheet.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I would also recommend the CSSEdit plugin, but I understand that it might look senseless to have an extra plugin for themeing when you already have a custom theme.
Although I guess it would be possible to take influence on the order of the css files, I wouldn't recommend doing so. I think you should be able to override the YAGA styles in your custom.css by using a higher specificity
Thanks for answers.
I agree with you @R_J on "... that it might look senseless to have an extra plugin for themeing when you already have a custom theme."
An extra plugin an extra call for style
I have it with specificity !!! Thank you very much for idea !
The style sheets for plugins supersede the custom.css file which is why I recommended you use it instead.
Otherwise edit the style sheet for the plugin... if not , you will have to use !important on many things..
The files get loaded based on alphabetical name of the file. If Yaga was called Aaga it would be loaded first. The loading order of the files is irrelevant to your problem.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks for the information and your help @vrijvlinder is little thing that I want to touch of yaga styles for these reasons I did not want to directly touch yaga file style by subjects of update.
But I already have two classes touched with corrected errors ...
https://open.vanillaforums.com/discussion/33450/yaga-v-1-1-errors-on-clean-installation-vanilla-v-2-3#latest
I hope they will be corrected in the future.
Greetings.
That is why using the CSSEDIT plugin solves these issues..
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌