VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: adi2014 on May 19, 2014, 21:13:14 PM

Title: Issue with separating words of Category title on front end of VM?
Post by: adi2014 on May 19, 2014, 21:13:14 PM
Hi,

I am having one wierd issue with front end of my webshop in regard to title of Product Categories. Please see image bellow

(http://s10.postimg.org/hph95by89/explanation.jpg)

Is it possible to type "Lady earrings" for Product Category title and to avoid loosing picture on front-end?

Is this the bug or it should be like this in VM?

Any hep is appreciated and many thanks in advance.
Adi
Title: Re: Issue with separating words of Category title on front end of VM?
Post by: GJC Web Design on May 19, 2014, 21:30:25 PM
For help you must give fuller info, versions etc and a live url
Title: Re: Issue with separating words of Category title on front end of VM?
Post by: adi2014 on May 20, 2014, 06:00:26 AM
Hello GJC WD,

no problem, here is the example link

madijelovi.com/avantg2014s/index.php/online-shop

Install version of VM is 2.0.26d (with note that I can't update to new version) and Joomla is version Joomla! 2.5.6

I hope someone can help me with this now.

Thank you,
Adi
Title: Re: Issue with separating words of Category title on front end of VM?
Post by: JoomTut on May 20, 2014, 06:41:18 AM
Open /libraries/gantry/css/joomla.css

Find:
h1, h2 {letter-spacing: -2px;line-height: 1em;}

Change letter-spacing: -2px to letter-spacing: 0px or delete letter-spacing: -2px;

Do the same for others if necessary.
Title: Re: Issue with separating words of Category title on front end of VM?
Post by: GJC Web Design on May 20, 2014, 09:12:34 AM
the above makes the letter spacing "nicer" but I assume the big problem is the image not showing?

no idea - must be in your template - when there is a space in the word the html is

<h2>
<a title="Lady earrings" href="/avantg2014s/index.php/online-shop/nausnice" style="visibility: visible;"><span>Lady</span> earrings
</a>
</h2>


Img is gone and a span is around the 1st word

in a one word title

<h2>
<a title="Narukvice" href="/avantg2014s/index.php/online-shop/narukvice" style="visibility: visible;">
Narukvice <br>
<img alt="shop_kategorije_narukvice" src="/avantg2014s/images/stories/virtuemart/category/resized/shop_kategorije_narukvice_90x90.jpg"> </a>
</h2>


is this a template over ride/commercial template?
Title: Re: Issue with separating words of Category title on front end of VM?
Post by: jenkinhill on May 20, 2014, 10:21:45 AM
Yes, looks like a RT Joomla template related problem. Test with Beez to see if images appear then.

Quote
Install version of VM is 2.0.26d (with note that I can't update to new version) and Joomla is version Joomla! 2.5.6

Why not? Have some core files been hacked? You should certainly update that old Joomla version.  http://forum.virtuemart.net/index.php?topic=118683.0