forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: stellintx on July 23, 2006, 09:32:14 pm

Title: in style.css...
Post by: stellintx on July 23, 2006, 09:32:14 pm
How do I know where to change the color for the heading bars for example where it says Last Additions?  I am using water drop theme.  if you want to take a look the url is http://justfortheartofit.com/coppermine/index.php


Thanks again
Title: Re: in style.css...
Post by: Sami on July 24, 2006, 12:10:35 am
try this:
http://forum.coppermine-gallery.net/index.php?topic=31423.msg145984#msg145984
or this:
http://forum.coppermine-gallery.net/index.php?topic=31423.msg145985#msg145985
these are very handy tools , when you enable CSS mode they will give you style detail for each element with mouseover
Title: Re: in style.css...
Post by: JesseLeeStringer on August 08, 2006, 12:44:28 pm
This is my sample from the reynold theme.
Very shabby coding my myself, or so I presume so.
Code: [Select]
"<li><a href="{LOGOUT_TGT}"><b><font color="#FF0000" font-family: Arial, Helvetica, sans-serif;>Logout</font></b></a></li>"
It will provide a nice colouring selection.
The reason I've modified the theme directly is that I prefered that specific options be highlighted as per client request.
 :o Easy Fix  :o

Code: [Select]
<!-- BEGIN enter_admin_mode -->
                                                <li><a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}" class="navmenu">{ADM_MODE_LNK}</a></li>
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
                                                <li><a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}" class="navmenu">{USR_MODE_LNK}</a></li>
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->

<!-- END upload_pic -->
<!-- BEGIN register -->
                                                <li><a href="{REGISTER_TGT}"><b><i><font color="#FF0000" font-family: Arial, Helvetica, sans-serif;>{REGISTER_LNK}</font></b></i></a></li>
<!-- END register -->
<!-- BEGIN login -->
                                                <li><a href="{LOGIN_TGT}"><b><font color="#FF0000" font-family: Arial, Helvetica, sans-serif;>{LOGIN_LNK}</font></b></a></li>
<!-- END login -->
<!-- BEGIN logout -->
                                                <li><a href="{LOGOUT_TGT}"><b><font color="#FF0000" font-family: Arial, Helvetica, sans-serif;>Logout</font></b></a></li>
<!-- END logout -->
                                        </ul>
Title: Re: in style.css...
Post by: Joachim Müller on August 08, 2006, 12:48:31 pm
DOn't use HTML formating, especially since Coppermine is designed to use CSS formating only. The equivalent of
Code: [Select]
<li><a href="{LOGOUT_TGT}"><b><font color="#FF0000" font-family: Arial, Helvetica, sans-serif;>Logout</font></b></a></li>in CSS terms would be
Code: [Select]
<li><a href="{LOGOUT_TGT}" style="font-weight:bold;color:#FF0000;font-family: Arial, Helvetica, sans-serif;">Logout</a></li>Even better though would be to have this handled using classes defined in your style sheet instead of hard-coding it into the theme or with inline CSS.
Hardcoding the word "logout" will only work if you use English as only language. For all other purposes, you should use the language string equivalent.