The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I ignore the default css
I have this:
vBulletin php file PHP Code:
Plugin Hook Location: global_start PHP Code:
Template: oscShop PHP Code:
But I want the {vb:raw includeshopbody} to ignore the default css. |
#2
|
||||
|
||||
You can't. Just don't use any of the default css. You don't need to call any of the classes defined. If some default css is getting used anyway, create your own class to apply that does whatever-it-is your own way.
|
#3
|
|||
|
|||
Thanks for pointing me in the right direction.
I have created a template called oscShop_headinclude, and put what is in the template headinclude into it, just to check that it working before I put my css in it. In the Template: oscShop I changed {vb:raw headinclude} to {vb:raw oscShop_headinclude} PHP Code:
|
#4
|
||||
|
||||
Well, you'd need to render the template you created. And, if it has most of the same stuff as done in the headinclude, you probably want to do that using a hook right where that template is rendered so that the variables are all available for use.
|
#5
|
|||
|
|||
I have changed my
vBulletin php file to: PHP Code:
I changed in it, the $globaltemplates and $templater-> Is that correct. Not sure what else to do. Hope someone can help, please. |
#6
|
|||
|
|||
NVM: It was already suggested
|
#7
|
|||
|
|||
Yes, but I still need some help with it.
Can't get any further. |
#8
|
|||
|
|||
Just create a custom css file for the page like page.css
Include this page.css AFTER all the standard vBulletin CSS has been called. Redefine any definitions in page.css you want to redo. Alternativly since you just want header, navbar and footer. You could copy and paste the code from vbulletin-chrome.css that pertains to those sections into page.css and not call any additional css files. |
#9
|
|||
|
|||
I have created a Template called oscShop_headinclude.
It is a copy of headinclude with reset-fonts.css, removed. As that css was causing the problem on my integrated page. PHP Code:
How do I get the {vb:raw oscShop_headinclude} to work, that is in the Template: oscShop PHP Code:
Not sure if it is rendered correctly in the vBulletin php file. PHP Code:
Is there a plugin that needs to be created to. If so, what should be in it. Thanks. |
#10
|
|||
|
|||
Really need someone to help with this please.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|