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?
|
Kids first |
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. |
but also inthe actual theme you use? Kids first |
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
|
and a workaround on my "white showing on edit post" problem seems to be lets the background picture repeat itself also vertical. |
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 .
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.
|
|
i found it
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 < 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 < 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.
|
thank you! I will try that. |
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?
|
Work this through ftp. Before changing the file, change the permission, save it then change the permission back. |
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 |