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

browse in category only in half page

Started by dimnik1, May 26, 2013, 20:43:35 PM

Previous topic - Next topic

dimnik1

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)

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

dimnik1

yes, if i use the default template the problem disapear. So i cant use artistir anymore?

dimnik1

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.

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

dimnik1

#5
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?

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

dimnik1

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.

EleanorKiy

For those who follow...

Add this to your css.

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