wpg2_make_html_album_tree() output messed up
davidedw
Joined: 2007-06-10
Posts: 19 |
Posted: Wed, 2008-03-26 06:42 |
Hi, I'm in the process of setting up my wordpress blog (http://davidedwardsphotos.com/blog) that is using WPG2. I've got the wpg2_make_html_album_tree() code in the sidebar file: </li> <li>Album tree...</li> <li><?php print wpg2_make_html_album_tree(); ?></li> </ul> It was working nicely yesterday, but today it's all messed up: [img]http://davidedwardsphotos.com/images/wpg2_make_html_album_tree.jpg[/img] As I've been playing with the WP CSS files, I suspect I may have messed up something to do with WPG2. Here's a firebug display of the output: [img]http://davidedwardsphotos.com/images/wpg2_make_html_album_tree2.jpg[/img] Can anyone advise what I've done, or what I need to do to fix it? Thanks. My gallery: http://davidedwardsphotos.com/gallery |
|
Posts: 19
Ooops, found it. The images in the tree view, such as the folder icons, default back to the style.css img tag. I had changed...
to...
for some static images I'd put in a page. This threw off the display of the tree view.
To allow me to play with the img settings in style.css, I've overridden the options in wpg2.css...
It seems to work ok.
David.
My blog: http://davidedwardsphotos.com/blog
My gallery: http://davidedwardsphotos.com/gallery
My karate photos: http://davidedwardsphotos.com/bushidokan
Posts: 1378
Well done.. FYI if you have a wpg2.css file in your theme directory, when you validate WPG2, WPG2 will instead use the wpg2.css from your theme directory thus you can make all the changes you want without it effecting you when new versions are released..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo