VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: dimnik1 on May 26, 2013, 20:43:35 PM

Title: browse in category only in half page
Post by: dimnik1 on May 26, 2013, 20:43:35 PM
Hello, i upgrade to joomla 2,5 and  virtuemart σε 2,20
Everythink is ok except the template. In some categories the product appear in half page. You can look this link

http://katsantonis-podilata.gr/vm2/new/index.php/component/virtuemart/view/category/virtuemart_category_id/92

but some categories is appear with no problem
http://katsantonis-podilata.gr/vm2/new/index.php/component/virtuemart/view/category/virtuemart_category_id/48

I have choose to appear 1 product per row. If i choose 2 product per row then the problem still exist (2 product in half page)
Title: Re: browse in category only in half page
Post by: jenkinhill on May 26, 2013, 23:24:59 PM
If you look at the page code you will see that each is different, with a lot of junk in the "half" display page:

<strong>
<strong>
<strong> </strong>
</strong>
</strong>
</div>
<strong>
<strong>
<strong> </strong>
</strong>
</strong>
</div>
<strong>
<strong>
<strong> </strong>
</strong>
</strong>
</div>
<strong>
<strong>
<strong> </strong>
</strong>
</strong>
</div>
<strong>
<strong>
<strong>
<footer class="art-footer">
</strong>
</strong>
</strong>
</div>
<strong>
<strong>
<strong> </strong>
</strong>
</strong>
</div>
<strong>
<strong>
<strong> </strong>
</strong>
</strong


As you are using an Artisteer template which usually will have non-standard Joomla coding and css I suggest you first try using the Beez20 Joomla template to see if the problem goes away.
Title: Re: browse in category only in half page
Post by: dimnik1 on May 27, 2013, 22:32:35 PM
yes, if i use the default template the problem disapear. So i cant use artistir anymore?
Title: Re: browse in category only in half page
Post by: dimnik1 on May 27, 2013, 23:04:34 PM
and why the junk code is loaded in some pages? I can't find difference except that: they don't have price, so no add to card fuctionality.
Title: Re: browse in category only in half page
Post by: jenkinhill on May 27, 2013, 23:17:11 PM
If it works OK with Beez then you know the issue is with the template you were using.

You can use an Artisteer template, but you may have to edit the generated template and css to ensure it works with added components like VirtueMart. It is OK for most Joomla sites, blogs etc, but add in a few plugins and modules and a large & demanding component, of which there are several, and you will too often see problems.

We see too many people here with problems related to the use of Artisteer, and we cannot help with them without diving into the template code, and that is not what this forum is for. To make it more difficult the generated template code seems to change with each minor update of their product.
Title: Re: browse in category only in half page
Post by: dimnik1 on May 28, 2013, 10:15:45 AM
can i use the default template for vm and artisteer for the rest of site? I am interesting to modify the vm appearace in order to work correctly.
I am looking in the folder /template/mytemplate/html but there isn't the com_virtuemart fodler. So, how artisteer override the default template for virtuemart?
Title: Re: browse in category only in half page
Post by: jenkinhill on May 28, 2013, 10:57:04 AM
Artisteer will not make overrides for any component, that's why there is no template/html/com_virtuemart directory.

You can use as many templates as you like on a Joomla site as long as the menu/template assignments are correct.  See http://forum.virtuemart.net/index.php?topic=104113.msg346882#msg346882
Title: Re: browse in category only in half page
Post by: dimnik1 on June 02, 2013, 23:58:17 PM
i am still try to find the solution. Since artisteer is not overide the virtuemart all the css must be in the "template name.css". Right?
i use firebug to find the class name but i can't find. Do you have any idea where to start?
What else can i do? To buy professional template? I am satisfied with my joomla template.
Title: Re: browse in category only in half page
Post by: EleanorKiy on February 18, 2014, 15:51:29 PM
For those who follow...

Add this to your css.

.art-content-layout .art-content
{
width:100%!important;
}