News:

Support the VirtueMart project and become a member

Main Menu

Apearence in category

Started by antogkez, October 25, 2012, 19:19:39 PM

Previous topic - Next topic

antogkez

Hello an concrats for the forum!
i've a problem and i would be thankful in anyone can help.
At my home page i've set a menu VirtueMart ยป Default VirtueMart Layout. Everything good up to here!
When i enter in a category my products are chenging layout and the image is getting too small and the title goes at right. The question is how can i set the layout inside the category to be tha same with the default layout in homepage? I've installed the walkaround for the pics & thumbs and is working fine. I'ts just that the 90x90px thumb is only in my homepage and not inside the category. I home i did not became misunderstood.. I attach 2 PrtScn so that you can see what i meen.
Thenks in advance.

[attachment cleanup by admin]

bytelord

Hello,

You are using a commercial template i think, please read this:  http://forum.virtuemart.net/index.php?topic=108212.0

You could use Firebug to examine the site code and css styling: http://forum.virtuemart.net/index.php?topic=102850.0

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

antogkez

Hello,
thanks for replying. Well, no i'm not using a comercial template. just the defaults of VM2.
Anyway, i found a solution, and here it is:
for my image being too small i edited / components / com_virtuemart / assets / css / vmsite-ltr.css
line: .browse-view .row .product .spacer img,.related-products-view .row .product .spacer img{max-width:90%;height:auto;}
i just deleted the "max-width:90%" command.

Now for the title to go right (because it naow came over the image) edited / templates / my-template / html / com_virtuemart / category / default.php
line: <div class="width70 floatright">
ajusting the width (ex. 50) moves the product name horizontal to the prefered position.
In that way the pics are 90x90 just fine and the product name in right view ok

Ps: btw i thing default chrome inspector is better for frontend inspection...  :)

Kind regards

bytelord

#3
Hello,

Sorry for that, please provide a live url to check it, it very difficult that way (with only an image).

You could also use firebug to examine your web site code and css styling: http://forum.virtuemart.net/index.php?topic=102850.0

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!