The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.

Create a free forum like this one.

Editing specific categories/forums

Go down

Editing specific categories/forums

Post by Anzo on July 15th 2016, 8:26 pm

Hi Very Happy

I was wondering if it's possible to edit specific forums on the home page index. Like, if i want a specific forum to have a different background color or a different width compared to the others.

Is it possible?

Posts : 365
Reputation : 8
Language : English/Arabic
Location : Baghdad - Iraq

Back to top Go down

Re: Editing specific categories/forums

Post by An on July 16th 2016, 5:47 pm

Yes, it's possible!

Depending on your forum version you can use either an identifier or the nth-child css selector. What version forum is your question for?

Posts : 44
Reputation : 24
Language : English

Back to top Go down

Re: Editing specific categories/forums

Post by YoshiGM on July 20th 2016, 6:11 pm

Use this Javascript:

$(function() { $('li.header:eq(0)').css('background-color','orange'); });

The eq(0), it's the position of the category. In this case your first category that you have. Just add a consecutive number.

eq(1) -second forum
eq(2) - third forum
eq(3) - fourth forum

Male Posts : 712
Reputation : 97
Language : Spanish, English & Italian (16%)
Location : Mexico

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum