![]() |
Editing bbcode_code
I would like to get the code box, dotted lined and a certain box background color, but it seems vb4 has changed the coding.
Below is my current code, I managed to remove code: but the rest I don't understand. Code:
<div class="bbcode_container"> |
It looks like vb4 moved a lot of things to the bbcode.css template. What you could probably do is add a section to additional.css like this:
Code:
.bbcode_container { And override the existing CSS with whatever you want. You might also be able to copy the vb3 bbcode_code template to vb4, but you would have to update the variable references to vb4 template syntax (assuming those style variables still exist in vb4). |
You can change the background color in Stylevars > bbcode > vbbcode_background_color. If you want to change the border you must edit the <pre> tag. to put in additional inline styling go all the way to the end and find the ";"
</vb:if>;"</vb:if>>{vb:raw code}</pre> You can put additional styling between the ";" and the quote mark that follows. Alternatively you could edit whatever css template contains the bbcode_code class |
thanks guys, seems easier now you have explained some things, appreciated
|
All times are GMT. The time now is 05:17 AM. |
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:
|