Page 1 of 1

Black Pearl poll subject color

Posted: 12. June 2009 23:29
by bullrees
Your Portal Version: 1.0.3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://ltpgaming.com/

What have you done before the problem was there?


What have you already tryed to solve the problem?
Tried a few test polls to be sure it was not just one.

Description and Message
When I make a poll the subject line comes out blue on the portal.
php 3.0.4
portal 1.0.3
Style black pearl
No mods that I remember.

Link to site
http://ltpgaming.com/
Poll forum
http://ltpgaming.com/viewforum.php?f=43


Thanks for any help.

Re: Poll subject color

Posted: 13. June 2009 20:54
by bullrees
Never mind. I found it.

For anyone else that needs it.

open
/styles/black_pearl/template/portal/block/poll.html

Find

Code: Select all

<td class="cat" style="text-align: left">
						<span class="gen"><b>{poll.POLL_QUESTION}</b></span><br /><span class="gensmall">{poll.L_POLL_LENGTH}</span>
					</td>

Replace with

Code: Select all

<td class="cat" <FONT COLOR="#FFCC33"><style="text-align: left">
						<span class="gen"><b>{poll.POLL_QUESTION}</b></span><br /><span class="gensmall">{poll.L_POLL_LENGTH}</span>
					</td>
I'm a hack at html so I guarantee nothing other than it worked for me.

EDIT: UPDATE
Seems to work in fire fox but it is still blue in IE.Back to the drawing board.
Still blue in opera also.


EDIT: Update2
Changed it to this and works in ff, ie, and opera. The hight is different in FF not sure why yet.

Code: Select all

<tr>
					<td class="cat" <style="text-align: left">
						<span class="gen"><center><FONT COLOR="#FFCC33"><b>{poll.POLL_QUESTION}</b></font></center><br /></span><span class="gensmall">{poll.L_POLL_LENGTH}</span>
					</td>
				</tr>

Re: Black Pearl poll subject color

Posted: 14. June 2009 11:28
by Mike
bullrees wrote:portal 1.0.3
Thats not true... You dont use the latest Version of B3P. At least not the Template files...
I tryed to reproduce your problem, and found out that you not only use an outdated Version of poll.html but the whole Portal. (Templatefiles)

If you install the latest Version, you Problem is gone also ;)

Watch it

Re: Black Pearl poll subject color

Posted: 14. June 2009 15:51
by bullrees
oh :oops:
You are right thanks for the info.