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

Strange line break in VM cart module !?

Started by Ronny Buelund, August 12, 2013, 20:43:23 PM

Previous topic - Next topic

Ronny Buelund

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


Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart


Maxim Pishnyak

Your template is commercial. Did you check sticked thread about that case in Template forum section?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Ronny Buelund

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.


Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Ronny Buelund


jenkinhill

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

Ronny Buelund

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.


Maxim Pishnyak

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
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Ronny Buelund

Hmm... well.. now I have added theese three style sheets to the index.php - makes no difference !? :-(


Maxim Pishnyak

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.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Ronny Buelund

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

herbie4

Just wondering Ronny... did you get this problem solved? If yes, how? I am having the same problem here. Hope you can help me...

Ronny Buelund