News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

box products

Started by elo007, May 22, 2012, 14:36:18 PM

Previous topic - Next topic

elo007

Hello,

exactly how to insert a frame around the product.

Joomla 2.5 and VM 2.0.6, PHP 5

Appendix.

Thanks

[attachment cleanup by admin]
Online marketing www.roi-index.com

PRO

views/category/tmpl/default.phh

change

<div class="product floatleft<?php echo $Browsecellwidth . $show_vertical_separator ?>">
         <div class="spacer">



to this

<div class="product floatleft<?php echo $Browsecellwidth . $show_vertical_separator ?>">
         <div class="border spacer pcat">



and add some style

.pcat {
    height: 260px;
}


.spacer {
    margin: 1px;
    padding: 2px;
}

.border {
    border: 1px solid #CCCCCC;
    border-radius: 6px 6px 6px 6px;
}



after that you will need to style it individually for YOUR template,. and products
http://forum.virtuemart.net/index.php?topic=73348.0

elo007

Hello,

thanks.

Please change the width as a cell product?

How it all centers?

Thanks.

M.
Online marketing www.roi-index.com

PRO

.pcat {text-align:center;}

elo007

Hello,

thanks.

Zial nepomohlo- V prilohe je vidiet viac. 1.jpg

Cieľ je 2.jpg

Ako centrovat cele bunky?

Ako druhy riadok posunut nizsie?

Thanks.

M

[attachment cleanup by admin]
Online marketing www.roi-index.com

PRO


elo007

Hello,

thanks.

Data are for localhost.

Unfortunately did not help, the annex to see more. 1.jpg

The objective is 2.jpg

As the center of the whole cell?

As a second line moved below?

Thanks.

M
Online marketing www.roi-index.com

PRO

change
.width20{width:20%;float:left}

to
.width20{width:19%;float:left}