The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
No. Is that necessary if I do it this way?
--------------- Added [DATE]1416240528[/DATE] at [TIME]1416240528[/TIME] --------------- Code:
<!-- BEGIN TEMPLATE: headinclude_bottom --> <link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style00079l/additional.css?d=1412187223" /> <link type="text/css" rel="stylesheet" href="https://code.google.com/p/my_project841924/source/browse/trunk/my_style.css?d=1412187223" /> <!-- END TEMPLATE: headinclude_bottom --> <link rel="stylesheet" type="text/css" href="css.php?styleid=79&langid=1&d=1412187223&sheet=additional.css" /> </head> Theres still a additional.css below my css file.. |
#12
|
||||
|
||||
Yeah, the additional.css is the last thing loaded, so it will overwrite any css that is not set as important.
|
#13
|
||||
|
||||
But there must be a way to get around it? :/
And also, why are there 2 additional.css files loaded? |
#14
|
||||
|
||||
The way around it is like I said, set your CSS elements to important. Or you can remove the call for the additional.css from the templates.
I only see one additional.css in the code you posted above. |
#15
|
||||
|
||||
What if i just cut all the css from the original additional.css file, leave it empty and then copy all of it to my css file, then include it via the plugin?
If you check the code above, theres 1 additional.css on line 2 and another at line 5. |
#16
|
||||
|
||||
Yeah you could cut it out of the additional.css or just comment everything out in the file.
|
#17
|
||||
|
||||
That works!
Thanks for your help ozzy |
#18
|
||||
|
||||
Excellent, glad to hear all is good.
|
#19
|
||||
|
||||
Quote:
|
#20
|
||||
|
||||
Np, Lynne.
And ozzy: I actually found a much simpler way to get this to work. All you do is just use the @import-rule and put it on top of your additional.css file. (like @import url("screen.css"); ) That way all the external css from that file will be imported in your additional.css file.. You can overwrite existing css with the !important tag and your good to go. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|