Forgot?

styling issue with NB

Reply Topic
Link to this post 04 Aug 11

hi can u advise on how to correct the following:

1.) on the main boardpage, the last posts alignment is off.

2.) also in the typical postings page, the right side showing the avatar is below the main body of the post text.

everything is fine though when i disable the left menu bar and the above is able to take up the full width of the webpage.

thanks

You don't have access to view the attachments in this post.
Link to this post 04 Aug 11

Hi,

I looked at your site in Safari, Chrome, and Firefox.
The issues just seem to be in firefox as Safari and Chrome appeared fine.
What browser are you using?

Try this to fix by adding the following to either your template custom CSS, or by using CSS overrides:

Last posts:

.ninjaboard .row.forum dd.lastpost {
width: 27%;
}

For the posts:

.ninjaboard .section {
width: 75%;
}

Let us know if that helps. Thanks. :)

Link to this post 04 Aug 11

thanks. will try it.

i use FFv3.6.19 as my testing evironment.

Link to this post 22 Aug 11

Hey Mark I have the exact same issues but I don't know where I have to put these values can you give me some more help on this?

Link to this post 22 Aug 11

Hi,

You can copy and paste the css code above in the default css file from your template.

Which can be found here: from the menubar go to Extensions > Template Manager > click default template > click Edit CSS icon in upper right corner > select template.css (called this way usually) > click Edit > paste the code in the form field were the rest of the css is displaying, preferable at the bottom underneath the main css.

Alternately you can use the override method, like Hook pointed out in his post: CSS Overrides

I hope this helps.
Let us know how it goes.

Kind regards,
John

Link to this post 22 Aug 11

Amazing!
Thank you so much John! I did what you said and now everything looks like it should.
I don't want to become annoying but can you give me some code so avatars show on the left of the post?
Thank you again! You guys are amazing!

Link to this post 23 Aug 11

Hi bimbongr,

Great to hear you were able to fix it, good job!

Regarding the avatar position, try to add this to the same CSS file you used before (or override):

.ninjaboard .section {
float: right;
}

.ninjaboard .user {
float: left;
border-right: 2px dashed gray;
}

I hope this helps.
Let us know how it goes.

Cheers,
John

Link to this post 23 Aug 11

John as I said you are amazing and sure do know what you're doing. However there's a slight problem if I have popular posts enabled it gives me this error -

Fatal Error: Using $this when not in object context in /home/clubstud/public_html/bimbosbox.com/modules/mod_ninjaboard_popular_posts/tmpl/scrollh.php on line 27

If I disable popular posts everything is fine. Can you tell me what might be the problem with popular posts?
Thank you so much again. I've been trying to figure avatar on the left of the posts for a very long time now.

Link to this post 23 Aug 11

Hi bimbongr,

Thanks for the kind words, we do the best we can.
Glad to hear it worked out for you.

Please, forget about the Ninjaboard Popular Posts module.
These add ons for Ninjaboard are going to be removed soon.
At this time the add ons for Ninjaboard are outdated and no longer compatible with the current version of Ninjaboard.

Our Ninja team member Captain Hook is currently working on a brand new module which is going to replace the add ons. I can't give an exact timeline but it's in development state and is planned with the release of Ninjaboard 1.2 (as far as I know).

I hope I have giving you some useful info on this.

Cheers,
John

Link to this post 23 Aug 11

Ok John I won't use those modules anymore. I will wait for the 1.2 release. I love NB it's awesome and you guys make support look World Class!
Keep up the good work!

Link to this post 24 Aug 11

Hi bimbongr,

WoW...That would be an awesome review at JED

Thanks again for your great words, I'm glad we could be of service.

Kind regards,
John

Forums Joomla Extension Support NinjaBoard styling issue with NB