[PGTheme] Album tree outline not correct (items centred instead of left-aligned)

conorboyd

Joined: 2005-03-29
Posts: 166
Posted: Tue, 2006-05-02 00:34

Hi,

Using PGTheme 1.1 (the 2.1.x version), my album tree in the sidebar (as displayed here: http://gallery.ildica.com) is not correctly aligned.

Each album is centred in the list, meaning the lines making up the tree don't match up.

I'm assuming it's a CSS issue somewhere, but I don't really know much about CSS, so I'm hoping somebody else can point me in the right direction.

Any help gratefully received.

Cheers,

Conor


Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.4.0 cgi
Webserver = Apache/1.3.33 (Unix) Vortech_PHP/0.1.0-p0 FrontPage/5.0.2.2623 mod_throttle/3.1.2 mod_ssl/2.8.22 OpenSSL/0.9.7d
Database = mysql 4.0.26, lock.system=flock
Toolkits = Exif, Gd, NetPBM
Acceleration = none/21600, none/900
Operating system = FreeBSD unix11.hsphere.cc 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Aug i386
Default theme = PGtheme
Locale = en_GB

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2006-05-02 03:19

find dtree.css and add float: left; to the .dtree class.

.
I have found 2 tools that are invaluable the firefox browser and the web development tool that allows you to Make live edits to the CSS of a web page..
Once you have them both installed....
select edit css and under the 'information' dropdown check display ID & class details.
Edit your CSS and you will see the results. Once you have this the way you want, upload your edited css to the server.

Dave

 
conorboyd

Joined: 2005-03-29
Posts: 166
Posted: Tue, 2006-05-02 20:17

Dave,

Thanks for that. Works perfectly.

Yeah, Firefox is great, and I'll definitely take your advice and look into the web dev tool.

Cheers,

Conor

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2006-05-03 03:20

Welcome