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

View previous topic View next topic Go down

Editing specific categories/forums

Post by Anzo on Fri 15 Jul 2016 - 14:26

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 : 317
Reputation : 6
Language : English/Arabic
Location : Baghdad - Iraq

Back to top Go down

Re: Editing specific categories/forums

Post by An on Sat 16 Jul 2016 - 11:47

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 Wed 20 Jul 2016 - 12:11

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 : 559
Reputation : 84
Language : Spanish [Native], English [69%], Italian [16%]
Location : Support Area ~

Back to top Go down

View previous topic View next topic Back to top

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