Link spacing in Virtuemart product details page.

Hi.

I am trying to find the .php file that will let me add a <br> in between the short product description and the product details link in Virtuemart.   If you have a look at the attached image, you will see a red arrow where I would like to add some space.   I would just like to be able to add a space so the text does not look so squashed.

I am assuming this is something to do with the Virteumart theme (which is the default theme).  The file for this is;
/components/com_virtuemart/themes/default/theme.php - but I cannot locate the right section.

This is a products page, not the flypage for that product.

Thanks.


Thanks.
productDetails.jpg
SpencerKarnovskiAsked:
Who is Participating?
 
Panagiotis SConnect With a Mentor web developer - designer Commented:
find the browse page that you use like browse_1.php in the components/com_virtuemart/themes/default/templates/browse folder
0
 
SpencerKarnovskiAuthor Commented:
Will have a look now, thanks for the quick response.
0
 
SpencerKarnovskiAuthor Commented:
I am using browse_1.php - and have access to the file.  But when I add a <br> to the product details section, nothing happens.  So I decided to c&p the entire product details link, from the php file, and on my site the product details were still there.

So this leads me to believe this is the wrong page - even though I am using browse_1.php.

I have added the code below to show you where I placed the <br>.  Even so, I can remove an entire section, and my page stays the same.

Any ideas.


<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
mm_showMyFileName(__FILE__);
 ?>
 <div class="browseProductContainer">
        
        
        <h3 class="browseProductTitle"><a title="<?php echo $product_name ?>" href="<?php echo $product_flypage ?>">
            <?php echo $product_name ?></a>
        </h3>
      
        <div class="browsePriceContainer">
            <?php echo $product_price ?>
        </div>
        
        <div class="browseProductImageContainer">
	        <script type="text/javascript">//<![CDATA[
	        document.write('<a href="javascript:void window.open(\'<?php echo $product_full_image ?>\', \'win2\', \'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=<?php echo $full_image_width ?>,height=<?php echo $full_image_height ?>,directories=no,location=no\');">');
	        document.write( '<?php echo ps_product::image_tag( urldecode($product_thumb_image), 'class="browseProductImage" border="0" title="'.$product_name.'" alt="'.$product_name .'"' ) ?></a>' );
	        //]]>
	        </script>
	        <noscript>
	            <a href="<?php echo $product_full_image ?>" target="_blank" title="<?php echo $product_name ?>">
	            <?php echo ps_product::image_tag( urldecode($product_thumb_image), 'class="browseProductImage" border="0" title="'.$product_name.'" alt="'.$product_name .'"' ) ?>
	            </a>
	        </noscript>
        </div>
        <br >
        <div class="browseRatingContainer">
        <?php echo $product_rating ?>
        </div>
		
        <div class="browseProductDescription">
            <?php echo $product_s_desc ?>&nbsp;
            <a href="<?php echo $product_flypage ?>" title="<?php echo $product_details ?>"><br />
			<?php echo $product_details ?>...</a>
        </div>
     
        <span class="browseAddToCartContainer">
        <?php echo $form_addtocart ?>
        </span>

</div>

Open in new window

0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
SpencerKarnovskiAuthor Commented:
Yes, I have added a <br> to most sections on that page.  It does not change anything on my category browse page.
0
 
SpencerKarnovskiAuthor Commented:
Any ideas why, when editing this php file, it does nothing to the category browse page?
Thanks.
0
 
Panagiotis Sweb developer - designer Commented:
are you sure that this is the browse file.

Open one of your categories and see which one is the browse page
0
 
SpencerKarnovskiAuthor Commented:
Hi

Well in the admin config I have it set to browse_1.php.  But I have opened my cat as you suggested and it says "managed".  

Thanks.
0
 
SpencerKarnovskiAuthor Commented:
When I change the category browse page to browse_1.php - it ruins the formatting.  So, what is the "managed" page, and how can I access that.

Thanks Panagiotiss.
0
 
Panagiotis Sweb developer - designer Commented:
its in the same directory as the browse_1
0
 
SpencerKarnovskiAuthor Commented:
Helped
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.