1) Script Title: Photo Album script v2.0
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...photoalbum.htm
3) Describe problem: How do you change the color of image title below the gallery preview? Is it a css fix.
1) Script Title: Photo Album script v2.0
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...photoalbum.htm
3) Describe problem: How do you change the color of image title below the gallery preview? Is it a css fix.
Well yes it is. Inside the default CSS for the script:
The code in red is new, and should give your image titles a red color.Code:.photogallery{ /*CSS for TABLE containing a photo album*/ color: red; }
I tried placing the new code in the css file (external), and it didn't change the text color. If it helps, it is the "opt_image_title" that I am attempting to change.
It should- I just tested it to confirm. Did you make any changes of your own to the CSS file that may have altered its structure? Please post a link to the page on your site that contains the problematic script so we can check it out.
http://www.troyfinney.com/2007/gallery.htm
I have uploaded the site. My css is external, and there are a few other css files referenced as well. I was wondering if there was a conflict myself.
The only alterations I made to the css were to place it in an eternal file, and changed a few minor attributes (Color, Font Size) but nothing to the structure.
I see the problem now. Your CSS for the gallery is in fact defined incorrectly:
http://www.troyfinney.com/2007/css/gallery.css
The opening and closing:
<style type="text/css">
</style>
tags shouldn't be there, as in any external CSS file.
On an unrelated note, one of the JavaScripts on your page is throwing a JS error. The message is "menuModal2 is not defined". If you turn on JS debugging in IE, you can see the error popping up.
BTW, please note that your page is currently in violation of our usage terms, since the credit notice doesn't appear inline on the page. Please reinstate the credit notice:
Thanks so much for your help! I updated the code, and added the Dynamic Drive tag.
http://www.troyfinney.com/2007/gallery.htm
Bookmarks