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: Chaotic Soul IE minor layout fix (sorta)  (Read 2231 times)

0 Members and 1 Guest are viewing this topic.

Fabrian

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 126
Chaotic Soul IE minor layout fix (sorta)
« on: July 17, 2008, 01:25:44 am »

It always bothered me that when viewing this theme in IE, the category title and mainly album title break a bit.  I added two simple lines of code to fix the layout issue.  Keep in mind I'm no expert and only did what I could until I saw the desired result without screwing anything else up.

Example of what I'm talking about is here taking note to the title "animals".

Find the following code in style.css (about 3/4 of the way down)

Code: [Select]
.alblink {
   color:#4C4A2F;
   font-size:1.4em;
   font-family:tahoma, arial, Microsoft Sans Serif;
   font-weight:bold;
   display: block;     
}

.alblink a {
   text-decoration: none;
}

.alblink a:hover {
   text-decoration: underline;
}

.catlink {
   color:#4C4A2F;
   font-size:1.2em;
   font-family:tahoma, arial, Microsoft Sans Serif;
   font-weight:bold;
   display: block;
}

and replace with:

Code: [Select]
.alblink {
   color:#4C4A2F;
   font-size:1.4em;
   font-family:tahoma, arial, Microsoft Sans Serif;
   font-weight:bold;
   display: block;
  padding-bottom: 5px;     
}

.alblink a {
   text-decoration: none;
}

.alblink a:hover {
   text-decoration: underline;
}

.catlink {
   color:#4C4A2F;
   font-size:1.2em;
   font-family:tahoma, arial, Microsoft Sans Serif;
   font-weight:bold;
   display: block;
  padding-bottom: 5px;
}

I'm sure there's a better way to do this, but it seems to do the trick.
Logged

Fabrian

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 126
Re: Chaotic Soul IE minor layout fix (sorta)
« Reply #1 on: July 17, 2008, 07:17:55 pm »

Example of the correction - open in IE: http://frozen-motion.com/thumbnails.php?album=7

Maybe someone can post a proper way of making this correction if mine isn't fixed the right way.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Chaotic Soul IE minor layout fix (sorta)
« Reply #2 on: July 18, 2008, 06:35:18 am »

You're using cpg1.4.13, while the most recent stable currently is cpg1.4.18. All versions before cpg1.4.18 are vulnerable against a security flaw that is being actively exploited. Upgrade!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 16 queries.