- This topic has 4 replies, 2 voices, and was last updated 13 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Hide thumbnail image description
Tagged: next gen
Hello. Is there a shortcode I can use to hide the thumbnail descriptions for a next gallery. I want to use a gallery I have set up with eStore product details, to also show in a different area of the site but i do not want to show the ‘add to cart’ button etc. Is this possible or do I need to create a second dut identical gallery? One for sales and one just to look at.
I have tried using ngg_gal_ShowDescription as a custom field as shown here : http://dpotter.net/technical/2008/05/nextgen-gallery-review-displaying-images-gallery/ but that does not work.
Thanks for all Tips and Tricks advice so far. eStore is a great product, I am just not that great at knowing what to do with it. Yet…..
When you display a gallery you can use the “template” parameter to use a different template for this gallery. NextGen gallery comes with a few different templates so I am pretty sure you will be able to find one that suits your need. If not then you will have to code your own template then use that.
So for example the following shortcode tell nextgen gallery to display the gallery using the tempate “wp-eStore”:
[nggallery id=1 template=wp-eStore]
You just need to use a different template instead of the eStore’s one.
Hey. Thanks admin007. That has worked really well. I did a little tweaking and came up with one of my own.
Thanks again for all your input. Now that I have adjusted the template to remove all the descriptions and add-to-cart buttons, I see that the CSS which I customized to make the eStore template look good, now means the thumbnails are a long way apart in the new template. Is it possible to create CSS to size my 2 templates differently?
This is my current CSS which I now understand is applied to all templates.
.ngg-gallery-thumbnail-box {
float: left;
width: 180px;
height: 200px;
}
.ngg-gallery-thumbnail-box span {
display: block;
clear: both;
text-align: left;
}
Please post a link to the page.