trying to modify the avalon theme trying to modify the avalon theme
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

trying to modify the avalon theme

Started by Hot Rides, July 22, 2009, 09:57:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hot Rides

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.

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.

jeepguy_1980

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.

Hot Rides

Quote from: jeepguy_1980 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.
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.

Nibbler

Try this:


.catrow td {
    vertical-align: top;
}

Hot Rides

Quote from: Nibbler on July 23, 2009, 01:27:17 PM
Try this:


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