Forgot?

Can find CSS for tweaking

Reply Topic
Link to this post 30 Jul 09

I have been able to make the title font-size smaller, and reduce the size of the Category and Forum name bars as well as the shadow size of these bars. Now I need to adjust the position of the "New Topic" and "Reply Topic".

I have looked and looked and I'm usually not this dense but I can not find it. If I do a "view page source" I can see the css tags for these areas are printed in the header but can not find them in the code within com_ninjaboard. I've even tried searching for things like "-16px" which is one of the css values in the header and it is nowhere to be found.

What am I missing?

Link to this post 30 Jul 09

Hi trishah,

We had by mistake forgot to move this css code into a css file during development.
I'm updating it right away, but if you don't feel like waiting, open this file:

/components/com_ninjaboard/system/ninjaboard.buttonset.php line 64

On that line you should see a variable named $style.
Change it to this

$style = '';

Then copy this code:

button.nb-buttons {border:0;cursor:pointer;} 
a.nb-buttons {padding-left:2px;}
a.nb-buttons span {display:block;position:relative;margin-left:-2px;margin-bottom:-16px;z-index:1;cursor: pointer;}

Into this file on line 2:

/components/designs/styles/ninjaboard_blue/ninjaboard_blue.css

Our new template engine is built from scratch and will be much easier to maintain and customize than this one.

The release date for the engine is at this point TBA.


Best regards,
Stian Didriksen

Link to this post 21 Aug 09

Hi Daniel.

Now that I have updated to 5.1 and found the css in the font.1.0.css to make the category bars, fonts and slider smaller, I now need to make these NewPost buttons a tad higher.

I found the ninjaboard_blue.css file and have been playing around with it to get the button to move but all I've been able to do is make the words behind the button move.

With the height of the bars 30px, and the fonts 1.7em, it looks like the buttons need to raise about 6px (estimate). Would you be able to point me to how I can do this?

As always, your help is greatly appreciated.

Link to this post 21 Aug 09

OK. New NB is out. Version 0.5.2

Please let me know if you have any issues with it.

It is just a minor release with buttons reworked and some BBCode engine patches

Home Forum Joomla Extension Support NinjaBoard Can find CSS for tweaking