The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Background color?

3 posters

Go down

Solved Background color?

Post by Redneckborg May 18th 2009, 10:46 am

I´ve checkd out FAQ and the basic BBcodes, I´ve searchd the forums for a thread about this without resaults.

My question is: Is there any way to change the background color of a post? Or just a part of it?

I`ve googled and got some different resaults like (bg=Color) (/bg) (background=color) (/background) and mixes in of both. I made "(" istead of "[".
Are we just able to use thouse 'Basic BBcodes' if that´s the case, why?

Thanks in advance
avatar
Redneckborg
New Member

Posts : 6
Reputation : 0
Language : English / swedish

Back to top Go down

Solved Re: Background color?

Post by ankillien May 18th 2009, 10:57 am

You can change the post background color, but not by BBCodes.
CSS codes can do it.
Tell me which version you use and I'll give you the code for it.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Background color?

Post by Redneckborg May 18th 2009, 11:50 am

I`m new to this and hardly got any programming experience and considering this i dont know how to check which version of CSS i got. Smile
avatar
Redneckborg
New Member

Posts : 6
Reputation : 0
Language : English / swedish

Back to top Go down

Solved Re: Background color?

Post by Redneckborg May 18th 2009, 12:01 pm

This is my Free forum: http://convicted.omgforum.net/

And I`m trying to make my post look something like this:http://www.mmo-champion.com/

If you scroll down a bit you can see some blue posts with a grayish background. That´s my goal atleast.
avatar
Redneckborg
New Member

Posts : 6
Reputation : 0
Language : English / swedish

Back to top Go down

Solved Re: Background color?

Post by ankillien May 18th 2009, 12:10 pm

Okey, I think I got it Razz

Add this code to....Admin CP > Display > Colors > CSS Stylesheet..

Code:
.postbody {
background-color : #333333;
color : lightblue;
}

It should work.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Background color?

Post by Redneckborg May 18th 2009, 12:36 pm

This makes all posts look like that?
If that´s the case, how do i add it to a specific post?

Sorry for my newbieish questions and thanks for helping out Smile
avatar
Redneckborg
New Member

Posts : 6
Reputation : 0
Language : English / swedish

Back to top Go down

Solved Re: Background color?

Post by ankillien May 18th 2009, 12:40 pm

Its not possible to apply diff color to specific posts.
Its will be applied to all of them.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Background color?

Post by Redneckborg May 18th 2009, 3:50 pm

I activated HTML and was able to achive somewhat as i wanted it to look like Smile
But when i post it, it shows the code instead of using it. :/

Anyone knows why this happens?

This is my post in question:
Code:
<table bgcolor="#333333">
<tr><td>
<p><font face="Monotype Corsiva, Verdana" size="2" color="cyan">

<a href="http://http://forums.worldofwarcraft.com/thread.html?topicId=16474152841&sid=1/" target="_blank" >Source</a>

We are making a hotfix (any minute now probably) so that Replenishment in Arenas will only affect the character and not the whole team. It will continue to function as it does
currently outside of Arenas.

We feel Replenishment is balanced for larger groups, but just makes too much of a difference
on smaller Arena teams. Making the rules work differently in PvP and PvE isn’t a solution we
like to use often, but in this case we think it fixes the issue cleanly, while still making
the talents in question useful to the character who takes them. Alternatives, such as nerfing
the amount returned by Replenishment in Arena or making it not function at all, seem like
more punitive choices from which we want to stay away.
</font></p>
</td></tr>
</table>
avatar
Redneckborg
New Member

Posts : 6
Reputation : 0
Language : English / swedish

Back to top Go down

Solved Re: Background color?

Post by ankillien May 18th 2009, 4:27 pm

Hummm....before you add code to your post, hit the "A/A" button at the top-right corner of the textbox and then add code.
It will work.

Hello
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Background color?

Post by Redneckborg May 18th 2009, 4:50 pm

Worked wonders! Cool
Thanks alot for helping me out Ankillien, you´re the man! king
avatar
Redneckborg
New Member

Posts : 6
Reputation : 0
Language : English / swedish

Back to top Go down

Solved Re: Background color?

Post by ankillien May 18th 2009, 4:52 pm

Glad to help you buddy cheers
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: Background color?

Post by Sanket May 18th 2009, 5:11 pm

Since this thread appears to be solved, I will lock this thread and mark it as solved.
Sanket
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

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