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.

Topic background

View previous topic View next topic Go down

Topic background

Post by ~같Complicated같~ on August 3rd 2011, 5:51 am

I've put a new forum design in which the topic background is red but there is one topic in which I would like to have the black background that I had before.

I wanted to know is it possible in any way to put a black background in only one topic? Or to put some code in the post to make it's background black like you can do for the color of the text?

Please let me know if you have any ideas for this!

Thank you so much in advance for any kind of response! Smile

~같Complicated같~
New Member

Female Posts : 9
Reputation : 0
Language : English, Croatian

http://bonjovi.forumotion.com

Back to top Go down

Re: Topic background

Post by coco moco on August 3rd 2011, 6:00 am

If you have a look at the source you will see that the divs for every post in a thread have a unique ID.

So find the IDs of the things you would like to change then
Code:
#pXYZ.post.row2.online{background-color:black;}

You will have to repeat this for every post in a thread you would like to change.

XYZ=unique ID.

This should let you do what you want to do.

coco moco
Forumember

Posts : 118
Reputation : 50
Language : English

Back to top Go down

Re: Topic background

Post by ~같Complicated같~ on August 5th 2011, 2:06 am

I'm sorry, but could you please explain this more specifically to me. How do I view the source? I tried right click-view page source, but I can't change it, only view.

~같Complicated같~
New Member

Female Posts : 9
Reputation : 0
Language : English, Croatian

http://bonjovi.forumotion.com

Back to top Go down

Re: Topic background

Post by coco moco on August 5th 2011, 2:33 am

You only need to view the source. Google Chrome is quite handy for doing this. Right click on your post, then click view element if using Chrome.

You will see every post has a unique id "id=whatever it equals", the numbers that you need to replace XYZ with come after the "p".

Hope this helps, I'm not that hot on explaining things

coco moco
Forumember

Posts : 118
Reputation : 50
Language : English

Back to top Go down

Re: Topic background

Post by ~같Complicated같~ on August 6th 2011, 5:05 am

Thanks for the explanation, but what if I'm not using Google Chrome? Do you know how to do it in Mozilla or should I try to ask someone else?

~같Complicated같~
New Member

Female Posts : 9
Reputation : 0
Language : English, Croatian

http://bonjovi.forumotion.com

Back to top Go down

Re: Topic background

Post by coco moco on August 6th 2011, 5:45 am

Right-click and view page source, or press ctrl+u. You will need to hunt through the code, though. With Mozilla, the dom inspector addon or the firebug addon will make your life a lot easier.

coco moco
Forumember

Posts : 118
Reputation : 50
Language : English

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