Custom CSS Definitions
1 Attachment(s)
I've seen many modifications that use vBulletin settings for CSS definitions.
But there is a far better way to easily let the administrator set up CSS definitions: Create your own CSS classes! The process is pretty straight forward: First of all you have to create a new entry in table template:
I suggest to do this in phpMyAdmin, which results in a query (if you want to do it fully manually) similar to Code:
INSERT INTO template (styleid ,title,template,templatetype,dateline,username,version,product) Afterwards, you need two plugins to make the class actually editable in style manager: css_edit PHP Code:
PHP Code:
|
thank you Andreas :up:
|
i know this is old as heck, but is there any explanation for the a:#'s and the s:#'s
say i want to add: position: border: and more, is this possible? and having no clue what the a's and s's stand for im kind of clueless. also would i need to define multiple <template name=".cssdemoclass"... for each class I want to have options |
Quote:
Can't answer the rest, sorry. |
All times are GMT. The time now is 08:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|