View Full Version : editor border
just a quick question is ther anyway to change the colour of the borders shown in the pic below or get rid of them...
i know you can do it in vbulletin_editor.css but that relates to all styles on the forum.. i want to change it for just 1 style
would be greatful if anyone can tell me how todo it
thanks
chris
cmon outa a crap load of users online noone knows if it can be done without havin to edit the vbulletin_editor.css and effecting all the other styles installed?
:(
davidw
01-26-2006, 07:02 PM
The second thing in your picture is a fieldset tag. I'll have to check which file this is in (or template) as I don't know, but changing border=1 to border=0 will fix the top part and removing the <fieldset> tag will take out the bottom part. Let me look.
S@NL - BlackBik
01-26-2006, 07:14 PM
I think you'll have to change the <legend> style in your stylesettings.
Nope, sorry, that's not it......
But it might be in the Additional CSS Definitions.
I see a "fieldset" setting there.
Didn't try it though.
davidw
01-26-2006, 08:38 PM
Guessing here -
Go to Admincp / Style Manager / yourstyle / Post Icon Templates / posticons
Find and remove:
<fieldset class="fieldset" style="margin:10px 0px 0px 0px">
<legend>$vbphrase[post_icons]</legend>
Find and remove:
</fieldset>
Go to Admincp / Style Manager / yourstyle / Editor Templates / editor_clientscript
Find after <!-- EDITOR STYLES -->:
.vBulletin_editor {
background: {$istyles[pi_button_normal][0]};
padding: $stylevar[cellpadding]px;
}
Change $stylevar[cellpadding] to 0
Let me know if this works.
Edit: Wrote wrong template down.
Edit: Added
I think you'll have to change the <legend> style in your stylesettings.
Nope, sorry, that's not it......
But it might be in the Additional CSS Definitions.
I see a "fieldset" setting there.
Didn't try it though.
I added
.fieldset { border: 0px; }
to the Additional CSS Definitions and that done the trick for the legend part
but the top border on the editor is still ther :(
i tryed taken
/* the container for the editor */
.vBulletin_editor
{
border: 0px none;
}
/* the container for all the edit controls */
#controlbar, .controlbar
{
padding: 2px;
}
/* the WYSIWYG edit area itself */
#htmlbox
{
border: 1px inset;
font: 10pt verdana;
overflow: auto;
}
from the vbulletin_editor.css and putting it in Additional CSS Definitions but it doesnt change a thing :(
anyone got any ideas how to get rid of the thick whiteish border around the posting part without it effecting every style installed?
this only problem i need to sort and the styles finnished.. so ya can imagine my frustration with this lol
davidw
01-26-2006, 08:49 PM
See my edited post above.
See my edited post above.
nope it never worked mate but u led me to the part i needed :)
i added
border:0px;
just below wer u said to change the padding and that sorted it :)
THANK YOU mate lol was getting so frustrated withit
S@NL - BlackBik
01-26-2006, 08:55 PM
christianb, I'm afraid editing the templates will remove the borders in all styles and that's not what he wants ;)
christianb, I'm afraid editing the templates will remove the borders in all styles and that's not what he wants ;)
no no .. the template he asked me to edit is style pesific (SP?) so changes only apply to style ur working on
or am i tripping here? lol
S@NL - BlackBik
01-26-2006, 09:03 PM
ok, than give it a go :)
ok, than give it a go :)
have done and it worked ;)
and borders still on all of the other styles ;)
the cellpading that he said to change is a no tho.. just leave that but below it add the border:0px;
and it sorts it out :)
me happy chap now lol
see attachment for wat its like now :) no more ugly white borders
davidw
01-26-2006, 09:20 PM
Glad you got it worked out. I had never messed with that before, so I figured it would be a good start to look.
Glad you got it worked out. I had never messed with that before, so I figured it would be a good start to look.
yeah ya led me in the rite direction tho so finaly got it sorted :)
ave been at it for hours now and had never thought to check ther lol
pigpog
11-01-2008, 03:12 PM
I know this thread is a couple of years old, but I wanted to say thank you to all of you for working this out because it has worked for me too. :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.