Can't find where to change post background

I am struggling with this for almost a week now. I have worked on the css of the forum, everything looks absolutely fine, EXCEPT for the posted topics.

See, my background is in black and shades of burgundy and dark red, and the fonts in various shades of gold-beige-straw.

Now when it comes to the posted topics, the font shows the proper "straw-beige" color, but the background of the box is white, making it thus very hard to read.

I have tried everything (of course the images are worked on as well, adapting the colors to what I need) still, the background of the is white. When I use xray it tells me the box is tbl_p_msg - but in the css (both in base and base_en) it IS set correctly - yet it still shows white.

Is there any other place I should look?

Quote · 20 Jan 2009

maby a background image?

Kids first
Quote · 20 Jan 2009

I changed all the images, both on base and base-en, and in several cases replaced the background-image with background-color in the css. Still nothing. I made sure when I ftp-ed everything the permissions were correct before ftp-ing.

Quote · 20 Jan 2009

but also inthe actual theme you use?

Kids first
Quote · 20 Jan 2009

I solved this problem to putting a background image on this.

its in /orca/layout/base_en/css/main.css

under .tbl_p_msg (at around line 688)

It works for the posts, however if a member now chooses to edit a pot, then the white background shows up again next to the editor.

sofar i have been unable to find out where this is set

Quote · 20 Jan 2009

and a workaround on my "white showing on edit post" problem seems to be lets the background picture repeat itself also vertical.

Quote · 20 Jan 2009

after some more looking into this.

the problem here seems to be that this background color is not set in a seperate CSS stylesheet file, but its encoded in the script itself, overruling anything i set in the CSS file Frown.

firebug showed that this is the part responsible for the background color of the posted topics.

<div id="post_row_12">
<div class="tbl_p_msg" style="background-color: transparent;">
<div class="tbl_p_author">
</div>
<div class="actions">
</div>
<div id="12" class="post_text">
</div>
</div>
</div>

Now the problem remains of vinding that part of code somwhere withing orca, i have been looking all over, but sofar failed to find it.

If anybody knows where to find this part of code, please let me know.

Quote · 22 Jan 2009

Yes, please, me too.

Quote · 22 Jan 2009

i found it Smile

in the file /orca/layout/base_/xsl/forum_posts.xsl
look for the following lines at around line 127

<xsl:element name="div">

<xsl:attribute name="class">tbl_p_msg</xsl:attribute>
<xsl:attribute name="style">
background-color:transparent;
<xsl:if test="((points &lt; min_point) or (vote_user_point = -1)) and (0 = @force_show)">height:20px; padding:0; overflow:hidden; width:100%;</xsl:if>
</xsl:attribute>

and change it to

<xsl:element name="div">

<xsl:attribute name="class">tbl_p_msg</xsl:attribute>
<xsl:attribute name="style">
<!--    background-color:transparent; -->
<xsl:if test="((points &lt; min_point) or (vote_user_point = -1)) and (0 = @force_show)">height:20px; padding:0; overflow:hidden; width:100%;</xsl:if>
</xsl:attribute>

then you can set your backgroundcolor in the previously named CSS file.

Quote · 26 Jan 2009

thank you! I will try that.

Quote · 30 Jan 2009

How did this work out for you

I have been trying to do the same but I get a perrmission error when i try to save the edit    hmmmm?

Quote · 6 Feb 2009

Work this through ftp. Before changing the file, change the permission, save it then change the permission back.

Quote · 12 Feb 2009

But btw... the solution didn't work. the background is still white, and the fonts are still the custom color for the whole site, so i have to go daily and fix the font color of the posts

Quote · 2 May 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.