The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Custom forum CSS per Forum, using the Forum Admin Details »» | |||||||||||||||||||||||||||
Custom forum CSS per Forum, using the Forum Admin
Developer Last Online: Nov 2013
Hi!
I am developping a new forum on http://www.papegaaienforum.com/ (meaning: parrotforum.com in dutch) and I needed to be able to change the header for each specific parrot via CSS and might also need to change other CSS for each specific forum so I wrote this small mod wich is optimized (fast, using variables already made available by vbulletin so no extra queries) and enables to configure CSS via the vBulletin admin as if it's available by default. It contains 1 phrase ("CSS") and requires 1 template mod to insert the new styles just below the <body> tag via the "header" template. It might be better to place the styles just above the </head> tag on each seperate forum and threadview template but this requires more work so I provide instructions for the most easy and simple way.
Btw, if you use subforums without CSS specified on a parrent that does have CSS specified it will use the CSS of the parrent (unlimited, so also if you have 100 levels of subforums). I am developping more mods btw, PM or contact me for more information. Have Fun! Jan Jaap Supporters / CoAuthors Show Your Support
|
Comments |
#22
|
|||
|
|||
Possible to have more flexibility with this? Like maybe the header and footer templates?
|
#23
|
|||
|
|||
smoothie stop flooding!
|
#24
|
||||
|
||||
Quote:
This mod will enable you to change everything that is styleable via CSS. Since almost everything on the forum is styled via CSS you can change the look of for example the footer or header easily. Best Regards, Jan Jaap |
#25
|
||||
|
||||
A question - does this offer anything that the default 'Choose style for viewing this forum' option in Forum Manager does not?
|
#26
|
||||
|
||||
Quote:
It will just save a lot of time and alow to easily change the CSS of a forum without the need to create templates, styles etc. and managing them all together. This will work based on 1 design, wich will make it easyer to update all forums and making minor changes to the CSS to for example just change the header image. It's just more simple and faster and saves a lot of work if you just want to change the header image or backgroundcolor for example. It's not meant for advanced style changes, just for minor CSS changes. Best Regards, Jan Jaap |
#27
|
||||
|
||||
I thought that was the general idea but confused myself when I tried to work out how to change the header/header image and footer using CSS only, without making major changes to the vB core files. How do you manage to change the logo using css?
|
#28
|
||||
|
||||
Well, you could remove the header image and put for example a div with the class "header_image".
You will then be able to format it as folowing: PHP Code:
Best Regards, Jan Jaap |
#29
|
|||
|
|||
In case you haven't noticed wise guy there is some sort of problem with forum because of the upgrade. So, get a life.
|
#30
|
|||
|
|||
hmmm, after your example adult seo, there is a question stuck in my mind. you gave a css code that only control the header part. i want to change my forums only header too but i dont understand one part: am i have to use only the header part of css code or the entire css code with the modified header part ?
|
#31
|
||||
|
||||
With this MOD you just need to use the CSS code you want to change or aply as new. As this CSS code will be served to the browser after the original CSS code, it will override the original CSS code, it does not replace the original CSS code.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|