Hi
I have tryed to change the colour on the gallery descripsion in the Rainy Day theme. As default the text colour is black, but it´s almost impossible to read because the background is dark. I would like the text colour to be white.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.larsemil.dk%2Ftemp%2Ffarve.jpg&hash=fc9d87120b07f881e12b21255786591f55a24601)
- I have tryed to change (one at a time) all the #000000 into #FFFFFF in the style.css
- I have also tryed this:
in style.css :
.maintable {
border: 1px solid #0E72A4;
background-color: #FFFFFF;
margin-top: 1px;
margin-bottom: 1px;
color: #FFFFFF; <--- I added this
}
and also:
.tableb_compact {
background: #EFEFEF ;
padding-top: 2px;
padding-right: 5px;
padding-bottom: 2px;
padding-left: 5px;
color : #FFFFFF; <--- I added this
}
Hope for some help :)
Add a new class for it in the template.html
<td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
{GAL_DESCRIPTION}
</td>
I am pretty new to changing in template.html.
Can you write where in template.html I neeed to add that?
Change
<td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
{GAL_DESCRIPTION}
</td>
to
<td width="100%" class="gal_desc" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
{GAL_DESCRIPTION}
</td>
and add a new class to your stylesheet
.gal_desc {
color: #FFFFFF;
}
I changed in both files and uploaded them. The text is still black.
In style.css I added it in the end like this:
#vanity a {
display:block;
width:57px;
height:20px;
margin: 3px 20px;
}
.gal_desc {
color: #000000;
}
#vanity img {border:0}
Correct?
I made a typo in my code originally, use the code that is there now. (I always get black and white the wrong way around. :-[)
*GGG*
It´s fine now. Strange I didn´t think about it when it was #000000 in the code. But its fine now. Thanks 8)
I am wondering: Is it very difficult to make the gallery description as a "box" which fits the size of the text written in gallery description?
So if I write a long description, lets say some info about a some new pictures, then the "box" is big, but if the description is short (few words) the the box is small.