![]() |
general question about templates/custom pages and styling
So i have a custom page (template?) created and the tabs all link to it fine etc...
Now usually with a html/php page I could write the code and then link it to a css stylesheet. Now I obviously want my custom page to be the same theme as the rest of my forum and be able to change themes with the rest of the forum. To do this, should I write all the html code for the page by editing the template in the adminCP? If so, how would I go about adding CSS to the page while keeping my theme? The additional.css file is not inherited across all my themes, so if I added it in there I would have to go through each theme and add the css to that themes additional.css file. Is there another way to do this? |
I think you need to read this https://vborg.vbsupport.ru/showthread.php?t=228112
|
Quote:
|
additional.css. And if not all of your styles implement it, then make them. That's the way to do it through vB.
|
If you'd followed the guide as laid out by lynne then it would automatically be styled according to the selected style of the user. Further additional.css style rules would be used on that page as the setup includes the code necessary to include that file.
|
Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
Code:
<link rel="stylesheet" type="text/css" href="name of css template here"> Quote:
|
Quote:
You need to create an actual, physical css file in your file system and link to that properly. |
All times are GMT. The time now is 03:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|