![]()
|
Welcome,
Guest
|
|
|
By default, DynaTabs uses 4 thumbnail images. To add more, you go to these files (depending on which color scheme - light or dark - that you are using)
/components/com_virtuemart/themes/Dynatabs/templates/product_details/includes/js/css/dynatabs.tpl.css or /components/com_virtuemart/themes/Dynatabs/templates/product_details/includes/js/css/dynatabsDark.tpl.css find the following line 105: #showThumb0, #showThumb1, #showThumb2, #showThumb3 {This line provides formatting for only 4 thumbnails. If you added more than that number, then there would be no CSS styling for them. To add more, add more thumbnail numbers like so: #showThumb0, #showThumb1, #showThumb2, #showThumb3, #showThumb4, #showThumb5, #showThumb6 {The above code change will render 6 thumbnails. Now, the next problem is that the box in which the thumbnails is contained needs to be expanded. Find line 66: #dynaTabsOtherImagesBox {Change the height here to match the height you need for the number of images that you want to have. Each thumbnail has its own image styling. See this starting at line 26. #dynaTabsActualImage1 {You need to add a new section of the above code for each thumbnail you are adding. Coding wise, you are done at this point. You will probably want to use taller full size images to take up the extra space added by the new images. |
|
Nicholas
CIO - CorFun, Inc. Publisher - orthodoxbiz.com Webmaster - Orthodox Christian Network
Last Edit: 1 year, 3 months ago by nicholas.
|
|