coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Fabrian on July 17, 2008, 01:25:44 AM

Title: Chaotic Soul IE minor layout fix (sorta)
Post by: Fabrian 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 (http://coppermine-gallery.net/demo/cpg14x/thumbnails.php?album=25&thumbnails_php?album=25&theme=chaoticsoul) taking note to the title "animals".

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

.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:

.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.
Title: Re: Chaotic Soul IE minor layout fix (sorta)
Post by: Fabrian on July 17, 2008, 07:17:55 PM
Example of the correction - open in IE: http://frozen-motion.com/thumbnails.php?album=7 (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.
Title: Re: Chaotic Soul IE minor layout fix (sorta)
Post by: Joachim Müller 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!