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

How to remove span from product title?

Started by antogkez, December 06, 2012, 18:45:37 PM

Previous topic - Next topic

antogkez

Hello to everyone!
Can enyone help me how to remove span tag from product title? for ex. if product title is "sleeping couch" the first word "sleeping" has other color from the rest. What i want is to have all words of product title in the same format. It must be some css but i was not able to find and configure. I don't even know if it's from the joomla! template css. The php output is ex. "<span>sleeping</span> couch" for every product title
Thanks in advance!
my versions are:
Joomla! 2.5.7 | VM 2.0.12b

bytelord

Hello,

You could use some CSS for that ...

Use firebug to examine you site code and css styling: https://forum.virtuemart.net/index.php?topic=102850.0

Also here some information regarding css styling: http://www.w3schools.com/css/

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!

eNEXTvm

Is it on Gantry based template? If so you can disable it in Gantry configuration.

bytelord

Hello,

Just override some attributes on Gantry CSS ... nothing difficult or bad for Gantry...

Also you could just create some template overrides and comment out that spans to don't need for that title, but i easiest way it to parse some css attributes.

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

Thanks both!
i found the css and eliminated it!  8)
looks nice now!

the code to be edited is here:
vmsite-ltr.css
.featured-view .spacer span,.latest-view .spacer span,.topten-view .spacer span,.related-products-view .spacer span,.browse-view .row .product .spacer span{font-size:11px;color:#666;}

bytelord

Hello,

You could create a CSS override for that changes under your template header (load a new file e.g. vm.css) and apply all your changes there.

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!