I am talking about the Tabbed Products Pro v1.07 add on
Printable View
I am talking about the Tabbed Products Pro v1.07 add on
Well, firstly this is the column grid support thread.
Secondly, I have never written a tabbed info mod. Must be someone else's, so I can't comment.
I do see that you posted on this thread which is mine but is not a tabbed info module.
http://www.zen-cart.com/forum/showth...04#post1095204
So Sorry
I mixed up 2 add ons and thought that was yours, would be nice if i could delete those posts.
I want to keep the product name, price below the image and only the width of the image. At the moment the grid/column lay out calculates 3 columns for the width of my center column but this is wider than the photo. The net result is that price and product name are off to the left of the image.
If I do a search and the result is only on product or two products then the resulting box is either the full width of the page or half the width of the page. the image is centered but the text below it is way off to the left. (I want it left justified but to the edge of the image.)
.centerBoxContentsProducts centeredContent back is the class I get but setting this in the css has no effect as I believe some other code is over riding the calculation. I have looked in modules/product_listing.php to trying and enter another div to contain the image and the text together or to force the width, but I cannot seem to work out the place to put this.
Can anyone point me in the right direction.
Let's see your site to determine the best way of getting your desired alignments. You may need to use the Flexible Product Listing version of Column Grid (attached to post 50 in this thread) to get the fine-tuning.
I have scoured this thread and tried uninstalling and reinstalling this mod, and it's still not working correctly. I'm having the same problem as many who have posted, which is if I set the columns to 3, I have 2 images on a row, and the third is pushed down to the next. I've tried setting 3, 4, 5, & six columns so I could test to see if it was a padding issue and this does not seem to be the case. The only time it works correctly is if I set six columns, but even then, there are only six products on the page, not 10. If anyone could take a look and see if I'm missing something that would be SO fabulous! THANKS!!
LINK: http://ggdigitaldesigns.com/shop
stylesheet.css line 572
It is a padding problem :smile:Code:padding: 0.5em
Oh, and it will only show 'full' rows of products. So if you have it set to 12 it will show two rows of six. If you have it set to ten it will show one row of six. Or I think that is right anyway, Glenn may confirm that.
The standard Column Grid code will show partial rows if needed to make up the per-page display total, and Flexible Product Listing does not change that. I'm not sure what could be happening to make a listing show fewer than you have set. Are you saying that the last four of ten do not appear at all, or that they get shunted to the next page? You currently have nine products per page; what is your setting?
niccol YOU ARE AWESOME!!!! I adjusted the padding and now it works perfectly! Thank you so much, I appreciate your time!
Glad it worked for you.
@Glenn. Yes as I was writing that I wondered if that was an alteration in SLT . It comes out of this line in product listing:
Bit as you say it is not a feature of column grid itself. But perhaps Leslie has SLT ( or SNAF) installed rather than the basic column grid.Code:$max_results = (PRODUCT_LISTING_LAYOUT_STYLE=='columns' && PRODUCT_LISTING_COLUMNS_PER_ROW>0) ? (PRODUCT_LISTING_COLUMNS_PER_ROW * (int)(MAX_DISPLAY_PRODUCTS_LISTING/PRODUCT_LISTING_COLUMNS_PER_ROW)) : MAX_DISPLAY_PRODUCTS_LISTING;