Skip to Content Skip to Menu

🏖 Summer has arrived! Start your summer right with our summer sale! Get 25% off professional and developer memberships with code SUMMER-2025!

[SOLVED] myCommunity-VM-FeatProd-Module - Format Question

12 years 3 months ago - 12 years 3 months ago #224647 by HamboneNLA
Ok, I know I could find the answer if I just knew where to look. I have the MyCommunity Template, with the Virtuemart - Featured Product module, in the right column, showing only 2 products, with picture. The formatting puts a big space between the product Name and its picture, with very little space between that picture and the next product name. At first glance the user associates the wrong picture with a product. I'm sure the answer is in a DIV STYLE statement, somewhere. But, I have looked through the template CSS, the module php file, plus every other html file I could think might be related. I'm not sure if the 'div style is not a Dynamic display, that can't be found in the CSS. Using the 'inspect element' by right clicking the area in my Chrome browser, it appears to be an HTML file that has the DIV STYLE, but I just can't find which HTML file that is.

Until it's corrected it can be viewed here, in the right column under 'Bead Room Featured Product'. ... www.KreweOfCentaur.org .

Thanks for the help!
Last edit: 12 years 3 months ago by krileon.

Please Log in or Create an account to join the conversation.

12 years 3 months ago #224652 by HamboneNLA
Ok ... I found it .. I don't know if this is the BEST solution, or if its going to cause me other problems ... but for now this appears to be controlled by this code:


<!-- The product name DIV. -->
<?php if( $show_product_name ) : ?>
<div style="height:35px; float:left; width: 100%;line-height:14px;">
<!-- Changing above height FROM 77px; -->

found at:
components/com_virtuemart/themes/default/templates/common/featuredProducts.tpl.php

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum