Hi
Has anyone else experienced an empty line that is inserted at the top of the cart module, but which disappears if you are on the product detail page or the checkout page ?? I can for the life not grasp where it is comming from ???
Could you provide a link?
Here you are
1. http://murshop.dk.web1.skaaningmedia.dk/jupgrade/
2. http://murshop.dk.web1.skaaningmedia.dk/jupgrade/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=20&virtuemart_category_id=13
At link 1 there is a space above the text "Ingen bestilling endnu" = Empty cart - at link 2 there is not ????
Your template is commercial. Did you check sticked thread about that case in Template forum section?
It is an Artisteer template - which someother person has created. But - the template is not the problem! If I swith template to Atomic - the problem is still there - you can take a look right now.
Your VM version, please.
VM 2.0.22a
Cart module: 2.0.20b
The problem seen is in your module container element, <div class="art-blockcontent"> - which is controlled by your template css. The actual VM module div, <div id="vmCartModule" class="vmCartModule "> only takes up one line of space - the line with "Ingen bestilling endnu"
The Artisteer css is controlling the VM layout because you are not loading VirtueMart's css files. I would expect to see these lines in your page header:
<link rel="stylesheet" href="/jupgrade/components/com_virtuemart/assets/css/vmsite-ltr.css" type="text/css" />
<link rel="stylesheet" href="/jupgrade/components/com_virtuemart/assets/css/facebox.css" type="text/css" />
<link rel="stylesheet" href="/jupgrade/components/com_virtuemart/assets/css/chosen.css" type="text/css" />
In VM configuration/templates turn on Using the VirtueMart CSS Then you can add a negative top-margin to .vmCartModule if necessary.
Be aware that Artisteer templates can show a lot of layout & styling issues with large components such as VirtueMart because the template does not include the full set of Joomla css style definitions.
Well, as I wrote earlier, I cannot see how this can be a template problem, when it also exists when I use Atomic template ?? This template is selected now, so please see for yourself - there is still an extra line on top of the string. I have tried english too - same problem.
But, on non VM page
Quote from: jenkinhill on August 14, 2013, 10:19:58 AM
<link rel="stylesheet" href="/jupgrade/components/com_virtuemart/assets/css/vmsite-ltr.css" type="text/css" />
<link rel="stylesheet" href="/jupgrade/components/com_virtuemart/assets/css/facebox.css" type="text/css" />
<link rel="stylesheet" href="/jupgrade/components/com_virtuemart/assets/css/chosen.css" type="text/css" />
still are absent.
You need to have VM css styling for any Joomla template. It's preferable way.
http://docs.virtuemart.net/tutorials/33-templating-layouts/106-override-vmsite-ltr-css.html
Hmm... well.. now I have added theese three style sheets to the index.php - makes no difference !? :-(
You could try to cut
<!-- Virtuemart 2 Ajax Card -->
in com_virtuemart.2.0.22_ext_aio\admin\modules\mod_virtuemart_cart\tmpl\default.php
Also you need to get rid of
<script src="/jupgrade/templates/murshop/jquery.js"></script>
<script>jQuery.noConflict();</script>
in your template.
There is no path: com_virtuemart.2.0.22_ext_aio\admin\modules\mod_virtuemart_cart\tmpl\default.php !?
There is this path: \modules\mod_virtuemart_cart\tmpl\default.php
But no difference removing the line and no difference removing the two jquery lines in index.php
Just wondering Ronny... did you get this problem solved? If yes, how? I am having the same problem here. Hope you can help me...
No - sorry - no solution yet.