News:

Support the VirtueMart project and become a member

Main Menu

Issue with separating words of Category title on front end of VM?

Started by adi2014, May 19, 2014, 21:13:14 PM

Previous topic - Next topic

adi2014

Hi,

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



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

GJC Web Design

For help you must give fuller info, versions etc and a live url
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

adi2014

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

JoomTut

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.
http://www.joomtut.com - How to Joomla!
Joomla! & VirtueMart Pro Support.
http://www.joomtut.com/joomla-clip.html - 14 steps to creating a Joomla! website with video clip tutorials

GJC Web Design

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?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

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
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