Multiple galleries on same page on same line.
-
Hi, I have a page where i need multiple indipendent galleries to be displayed, i need to see only one image as thumbnail and a lightbox where i can see all the other.
here’s the shortcode i’m using[ngg_images source="galleries" container_ids="1" display_type="photocrati-nextgen_basic_thumbnails" override_thumbnail_settings="1" thumbnail_width="400" thumbnail_height="400" thumbnail_crop="1" images_per_page="1" number_of_columns="0" show_slideshow_link="0" template="caption" gallery_width="400" ]When i add a gallery however, the <div> takes the full width of the content container, even if in the shortcode i set the gallery width.
I tried manually editing the cssgalleryoverview { overflow: hidden; margin-top: 10px; width: 100%; clear: both; display: block !important; }where the widtht is set to 100% to a fixed 400px, that half-solved the problem effectively reducing the div width and centering the images however, the galleries (that here for the sake of the example are the same) are displayed one on top of another.
Is there a way to have them be side by side? It would be even better to specify how many to fin in a row. ThanksI’m using this custom css too:
.ngg-galleryoverview .ngg-navigation { display: none !important; } .ngg-gallery-thumbnail { outline: none !important; border: none !important; background-color: transparent !important; }Here are some Images.
The topic ‘Multiple galleries on same page on same line.’ is closed to new replies.