The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[SOLVED] Add css code in additional.css Template by plugin
i want add css code in additional.css Template , but my code dose not work
hook : parse_templates code : Code:
$csscode = '.threadlisthead span.threadinfo { width: 48%; } .threadbit .threadinfo { width: 48%; }'; $vbulletin->templatecache['additional.css'] .= '$csscode'; |
#2
|
||||
|
||||
What I would do instead is at that same plugin hook, use the code:
PHP Code:
|
Благодарность от: | ||
omardealo |
#3
|
||||
|
||||
what is name of hook u use it ??
|
#4
|
||||
|
||||
The same hook you were already using: parse_templates
|
#5
|
||||
|
||||
okay thanks bro , but it is not work :erm:
|
#6
|
||||
|
||||
You may need to add "!important" to your selector's CSS declaration.
|
#7
|
||||
|
||||
Quote:
thanks :up: |
#8
|
||||
|
||||
Change the plugin code to:
PHP Code:
|
#9
|
||||
|
||||
Quote:
thanks alot :up::up: |
Благодарность от: | ||
MarkFL |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|