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: problem with smf theme  (Read 3674 times)

0 Members and 1 Guest are viewing this topic.

londonhogfan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
    • The Razorback Legacy
problem with smf theme
« on: April 27, 2005, 05:03:45 am »

http://www.razorbacklegacy.com/hog_archive/displayimage.php?album=66&pos=3

on some of my pages a few of the pics have a border around them on the right and bottom then when the mouse is over them they are gone.  It makes the page jump around.  I really like the theme, but don't know if I can stand that this.  Anyone know what could fix this?
Logged
(http://www.razorbacklegacy.com/hog_archive/pic.jpg)

snork13

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 260
  • Internet! Is that thing still around?
    • Gallery
Re: problem with smf theme
« Reply #1 on: April 27, 2005, 05:22:12 am »

this belongs in "themes" section maybe a mod can move?


hint:

Code: [Select]
.image {
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 2px;
filter: Alpha(Opacity=100, FinishOpacity=0, Style=1, StartX=0, StartY=0, FinishX=0, FinishY=100);
margin: 2px;
-moz-opacity: 0.5;

}

a:visited .image, a:visited .image1 {
border-bottom: 3px solid #6B8EAE;
border-right: 3px solid #6B8EAE;
filter: Shadow(Direction=120);
}

a:hover .image, a:hover .image1 {
border-bottom: #FFFFFF 1px solid;
border-left: #FFFFFF 1px solid;
border-right: #FFFFFF 1px solid;
border-top: #FFFFFF 1px solid;
filter: Blur(Add=1, Direction=120, Strength=1);
}

it's in the filter's causing this, maybe the shadow filter

this seems to be something  added, as i tested the demo

you might be able to make the thumbnails smaller too
« Last Edit: April 27, 2005, 05:37:38 am by snork13 »
Logged

londonhogfan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
    • The Razorback Legacy
Re: problem with smf theme
« Reply #2 on: April 27, 2005, 07:35:19 am »

Sorry about that.  I had just came from the themes forum and posted here on mistake.  I ended up just deleting the entire "visited" section and that worked for me.

while I'm at it does anyone know how I could take the fade effect off the _normal size pics and leave it on just the thumbnails?  also is there any way to make the fade a little weaker?  Thanks for your help
Logged
(http://www.razorbacklegacy.com/hog_archive/pic.jpg)

snork13

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 260
  • Internet! Is that thing still around?
    • Gallery
Re: problem with smf theme
« Reply #3 on: April 27, 2005, 05:36:02 pm »

Sorry about that.  I had just came from the themes forum and posted here on mistake.  I ended up just deleting the entire "visited" section and that worked for me.

while I'm at it does anyone know how I could take the fade effect off the _normal size pics and leave it on just the thumbnails?  also is there any way to make the fade a little weaker?  Thanks for your help

i haven't taken a long look at this theme, but for all themes.

take a look at the theme.php for determine which css "class" is used for each image size. might only be using one class for all images. So you would have to change the class for the normal view, and add that "class" attributes to the style.css within the theme.

always make backups first.

after looking at the theme and style sheet, you could try around line 533 in smf_filmleft theme:
Code: [Select]
// HTML template for intermediate image display
$template_display_picture = <<<EOT

find:
Code: [Select]
{IMAGE}
and replace with:

Code: [Select]
<div id="normal">{IMAGE}</div>
and in your style sheet add:

Code: [Select]
.normal {filter: none;}
hope this helps understand the way

snork
« Last Edit: April 27, 2005, 06:41:35 pm by snork13 »
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.