I love the gallery so far I am just having a small problem where the thumbnails for AD Gallery is overlapping next content on the page. I have attached a screenshot. Is there someplace I can adjust a setting I haven't found one so far.
Thanks,
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Screenshot-2.png | 233.51 KB | zaphod777 |
| #3 | Screenshot-1.png | 257.16 KB | zaphod777 |
| Screenshot.png | 374.12 KB | zaphod777 |
Comments
Comment #1
dbeall commentedYou can adjust this with the ad-gallery css, add padding-bottom to the .ad-thumb-list
node_gallery/js/ad-gallery/jquery.ad-gallery.cssCorrectionnode_gallery_display/js/ad-gallery/jquery.ad-gallery.css
@@line 144
.ad-gallery .ad-thumbs .ad-thumb-list {
float: left;
list-style: none;
height:135px;
padding-bottom: 50px;
}
clear the cache after any changes.
Comment #2
dbeall commentedmoving to the node_gallery_display issue queue
Comment #3
zaphod777 commentedThanks! but it seamed to make it slightly worse the thumbnail for the last picture is under the first. It was like that before but I couldn't see much of it. Now I can see the whole thing but it is overlapping a lot into the next area.
I have attached another screenshot.
Where do I clear the cache? I don't think I turned any cache on before since this site isn't in production yet.
Comment #4
dbeall commentedsorry, I would have to view the page on the net and find the css class with firefox/firebug.
It is probably something with the theme css, or using a different css class in ad-gallery
EDIT.. the cache(if it is turned on) can be cleared from the admin > site configuration > performance page
Comment #5
zaphod777 commentedIt seams the hieght of the whole thing was too small so I increased it a hundred px and now it doesn't overlap.
.ad-gallery {
width: 670px;
margin-left:10px;
height:690px;
}
now if I can just move the thumbnail from the bottom of the first thumbnail to the end I will be a happy camper.
Comment #6
dbeall commentedjust for reference, all my testing(trial and error) is done in wamp on windows xp with the garland theme. Many times people are using a different theme that changes everything(sometimes)..
Comment #7
dbeall commentedtry clearing the cache
Comment #8
dbeall commented100 px might be too much, try 20 px
Comment #9
zaphod777 commentedit is kind of strange if I I exceed 16 thumbnails on
Administer › Site configuration › Node Gallery > "Enter the Number of images displayed on each gallery thumbnail page:"
Then it will add that last thumbnail under the first. Is there anyway to display all thumbnails without this problem?
Comment #10
dbeall commentedI really haven't used ad-gallery very much and only have it installed on my live test site because it just gave me too many issues and won't work on some sites where I have attempted to run it.
Most of my local testing is with all default settings since I re-install Drupal, node_gallery, node_gallery_access and node_gallery_display so many times.
Comment #11
zaphod777 commentedI suppose it works for now and is fine until the wife notices and complains but right now I have bigger fish to fry. Now on to why my panel module isn't working right grrr ...
;-)
Comment #12
zaphod777 commentedComment #13
L3na commentedI had the same problem with my gallery and fixed by making the following changes to the jquery.ad-gallery.css stylesheet:
1. Increasing the standard width from 6000 to 9000px, Firebug tells me that 28 thumbnails will gobble up about 3020px, so this is something to bear in mind for people with larger galleries:
.ad-gallery .ad-thumbs .ad-thumb-list {
float: left;
width: 9000px;
list-style: none;
height:110px;
}
2. Fixing the padding for the thumbnails:
.ad-gallery .ad-thumbs li {
float: left;
float: left;
padding-left: 1px;
padding-right: 1px;
}
I am not sure whether this is actually a bug, but it seems that the Javascript calculations that create the .ad-thumbs element do not take into account the extra padding on the side of the pictures.
Will mark this issue as a bug for review and let wiser heads decide.
Comment #14
cwittusen commentedHi:
I got most of the things to work but the thumbnails are overlaying the gallery description so you cannot see the description of the gallery when you are inside of it. Any ideas?
Comment #15
dvasquez commentedAdjust the padings and margins correctly, for each item.