MyBB Community Forums

Full Version: mybb is simply the most amazing bb system ever.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
First before i continue let me just say i have used vbulletin for many years
i was sick of paying 180 bucks for a re-newal license every year but no other
open source or paid forum software come anywhere close to the look and feel
of using vbulletin. specially when it come to editing css and more so the
implementation of a plugin/mod system and XML form for styles/themes.

myBB is the most amazing forum software that emulates vbulletin features
like nothing else, infact its the only forum software in the world that actually
looks and feels and has the same type of features as vbulletin so
congratulations on making this software and a big thank you for making
it open source.

My problem i'm having is a strange one it's to do with the CSS stylesheet.
if i try to add my own selector in the Advanced CSS part in the adminCP
it doesn't turn blue and red in color like the rest and when you save the file
the changes don't appear on my forum now when i go to simple mode and look
for the new selector in the drop down selector menu it does not show.

the selector i added is as follows

input.button {
border: [color here];
background-color: [color here];
}

(also tried just background: [color here]; to see if that was causing it)

i added the selector right under the input.textbox
but nothing is showing on the forum or the drop down box.
where you can edit the CSS in simple mode.

now i'm thinking there's some other file that controls the drop down
selector menu but i've only just started using this so a little help would
be great, also even though input button doesn't have a ID or class
assigned too it, by using input.button { that should add a default style
to all buttons on the forum right? so why is this not working.
MyBB ROCKS!
hello?
Forum URL?
agree
(2009-09-03, 06:07 PM)GraphiX2004 Wrote: [ -> ]myBB is the most amazing forum software that emulates vbulletin features
like nothing else

You do realise that we don't make it to emulate vBulletin - rather we just make a kick-lime forum system. Shy

input.button should work fine - try making sure that the style code is saved properly (view the page source, and open the cache'd stylesheet); even so, each button should have the class "button", so you could try just defining .button...
Basically was my lack of understanding been playing around with it today
and now understand that if you make a direct change to global.css
as long as that actual selector exists anything you change in that selector works
and changes in real time. but if you add in a selector that wasn't originally in
the mybb_theme.xml template file via the edit global.css and re-save it wouldn't take.

i.e. add in extra selectors when saving them extra selectors wont be added
to global.css you need to add a new stylesheet set and attach that to global.css

i thought by editing global.css by adding new selectors it would automatically
re-add them new selectors to the drop down CSS simple menu system but it doesn't.

No worries all sorted now