The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vBulletin background code?
The CSS "Page Background" (CSS Selector: .page) is something I want to use on a custom page. Is there any way I can place a code in a template used for a custom page? I don't want to put it on every page, I only need to use it on some pages.
Simply put, I want to use "#dbe9df url(images/mainbg.png)" on only some pages. How do I do this? |
#2
|
|||
|
|||
I'm not quite sure what you're asking. Do you want to override the style's background but only on some pages? How is your custom page built (templates, a php file, html?)
You could put your own CSS in the "Additional CSS Definitions" section of the Style Manager, then use it somewhere in your custom page. |
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
Well, you could do something like this in the headerinclude template:
Code:
<!-- / CSS Stylesheet --> <if condition="THIS_SCRIPT == 'custompage'"> <style type="text/css"> body { background: #dbe9df ; background-image:url(images/mainbg.png); } </if> <script type="text/javascript" src="$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script> |
#5
|
|||
|
|||
Quote:
Can anybody tell me how to have ".page" different from what's set in the style on custom pages? |
#6
|
|||
|
|||
bump
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|