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 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?

Anzo
Forumember

Posts : 303
Reputation : 6
Language : English/Arabic
Location : Baghdad - Iraq

http://www.duelacademy.net/forum

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?

An
Forumember

Posts : 42
Reputation : 23
Language : English

http://help.forumotion.com

Back to top Go down

Re: Editing specific categories/forums

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

Hello,
Use this Javascript:

Code:
$(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
etc

YoshiGM
Forumember

Male Posts : 512
Reputation : 76
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

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