Create Account
/ Reminder
 
 
 

New World Designs
Removing / hiding the VirtueMart Logo from an empty cart module
Friday, 09 October 2009 14:27

I have wrote many times on the VirtueMart forums, on how to remove/hide the VirtueMart logo fro the Virtuemart Cart Module, but thought I would add it in here as well.

 

.vmCartModule img {
        display: none;
}

If you add this to your main template style sheet and refresh your page, it should work, you may need to do a cache refresh as well by holding down Shift+Reload (Shift+F5)

/templates/xxxxx/css/template.css

Is the usual path to your template css.

 

Some people say it should be here

/components/com_viruemart/themes/theme.css

But to be honest it makes no difference at all, as long as it is loaded in, it can be anywhere you like.

 

It will hide the logo, but not remove it. So Virtuemart still gets the deserved link to thier site, but your visitors on almost all normal browsers wont know anything about it.

 

This is the best way to remove it, as it doesnt hack any files, so you are free to update your site and the fix wont be overwritten.

Trackback(0)
Comments (7)add comment
0
...
written by Josh.Luther , July 01, 2011

Excellent post.


Ian Wright
...
written by Ian , January 06, 2011

Thanks Kevin
The link you posted is a "hack" to the core system and a VERY poor way to do this.

The method I have shown above doesn't remove the image, it just hides it and prevents browsers from displaying it. So the developers at VM still get the return link back (which they rightly deserve) as Google still sees the link and image.

As the other sites way is a hack, every time you update the VM component, it will overwrite the hack and you will have to log back in and re-edit the file. The CSS hide script, means you never have to update the hack again, as it just hides that image.

Ive never seen it not work on a site before, as i use it all the time for my clients websites, if you fire me a link to the site and i will have a look and see why that is happening and maybe find a fix for you smilies/smiley.gif

Ian
www.newworlddesigns.co.uk



0
...
written by Kevin , January 06, 2011

I found that this worked on the default main page, and on some of the category pages, but it stayed on other pages.

I found this worked (actually I have both changes applied since I'm lazy to undo the last one):
http://ninoholic.com/how-to-remove-how-to-remove-virtuemart-logo-in-empty-cart-module-logo-in-cart-module.html

Admin Edit - please see the below comment, as this is not the correct way to do this at all.



0
...
written by Curt , November 21, 2010

Yup, this worked perfect. I thank you for this!


0
...
written by Tonto , October 13, 2010

Nice one - helped out alot on my newest site


0
...
written by ARams , August 31, 2010

Great solution!

Appreciate you posting this.

~A



0
...
written by jp , August 01, 2010

Excellent and classy solution to remove the Virtuemart logo.

Thanks !

JP




Write comment
smaller | bigger
 

busy
 

© 1998 - 2009 New World Designs
Website hosted by New World Hosting Home | Photography | Web Design | Legal Documents | Blog