Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: in style.css...  (Read 7077 times)

0 Members and 1 Guest are viewing this topic.

stellintx

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
in style.css...
« 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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: in style.css...
« Reply #1 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

JesseLeeStringer

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: in style.css...
« Reply #2 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>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: in style.css...
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.