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: trying to modify the avalon theme  (Read 3706 times)

0 Members and 1 Guest are viewing this topic.

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
trying to modify the avalon theme
« on: July 22, 2009, 09:57:10 pm »

gallery--> http://hot-rides.net/coppermine

Notice how the cat. titles are centered? I dont like that. I have figured out what is causing it but can seem to find out where the code that controls it is.
For every cat. it builds a table w/ 2 columns. One for a thumb and one for the title. Cats with no albumbs(only sub cats) cant have a thumb so the columns divide 50/50. Im guessing somewhere in the css its algined center but I cant find out which one.

any help would be nice.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: trying to modify the avalon theme
« Reply #1 on: July 22, 2009, 10:04:28 pm »

Before you do anything else update your site. Currently you are using Coppermine version: 1.4.19 which has some security issues that are actively being exploited. The current version is 1.4.25

Once you have done that either post a screenshot showing what you are trying to accomplish or (and probably the best for you to learn) is to download firebug. With firebug you can inspect and adjust any element live on a site and it shows you where in the source the code is being generated. It should only take a few seconds to track down the relavent css or to get an idea where in the theme the code is generated.

From what you have written I cannot fully be sure what you are trying to change. But upgrade now.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

jeepguy_1980

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 94
    • Loop Family Forum & Gallery
Re: trying to modify the avalon theme
« Reply #2 on: July 23, 2009, 02:37:13 am »

It appears to be an IE only thing. I use the Avalon theme on my site and I never noticed it, because I primarily use Firefox.
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: trying to modify the avalon theme
« Reply #3 on: July 23, 2009, 01:24:33 pm »

It appears to be an IE only thing. I use the Avalon theme on my site and I never noticed it, because I primarily use Firefox.
thanks for the idea but that is not the case. every categorey you have has an album in it. some of mine have no albums in it, only other cats and that is what causes it.
Logged

Nibbler

  • Guest
Re: trying to modify the avalon theme
« Reply #4 on: July 23, 2009, 01:27:17 pm »

Try this:

Code: [Select]
.catrow td {
    vertical-align: top;
}
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: trying to modify the avalon theme
« Reply #5 on: July 23, 2009, 02:37:36 pm »

Try this:

Code: [Select]
.catrow td {
    vertical-align: top;
}

thx for the help, that didnt get it, but it did make me relize the construction of the tables so with a lot more searching I tracked down the code to theme.php and fixed it.
from
Code: (line 707) [Select]
          <td align="center" valign="top">
to
Code: (line 707) [Select]
          <td align="left" valign="top">
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 19 queries.