Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Product Carousel (SKU# FLEX-00009)

TOPIC: Clear a space that is not needed

Clear a space that is not needed 8 years 8 months ago #3657

Good afternoon,

I discovered a lot looking up a blank space above this module. What you can do with Chrome. Attached is a picture. Where I can remove those lines?

http://www.tiendadepapelpintado.es/index.php
Attachments:
Last Edit: 8 years 8 months ago by Grupodw.
The administrator has disabled public write access.

Clear a space that is not needed 8 years 8 months ago #3673

Well - they aren't coming from our module -
it is from your template

stuff like layout line 45
#bottom-a:before, #bottom-b:before {
  border-top: 1px solid #EBEBEB;
  content: "";
  display: block;
  margin: 15px;
}
 

module line 46
.module .module-title {
  margin: 0 0 15px;
}
 

the h3 title has margin etc etc - it all adds up

Did you try another dummy module in that position to see how it displays?

Cheers
The administrator has disabled public write access.

Clear a space that is not needed 8 years 8 months ago #3686

Yes, I know that the template has different margins and others.

But look at the picture, I mean that code created. This is not the css
'

'

It only appears when I put this module. For example Facy not happen.

I added FANCY down so you can see

http://www.tiendadepapelpintado.es/index.php
The administrator has disabled public write access.

Clear a space that is not needed 8 years 8 months ago #3695

If I go thru in Firebug removing various padding, margins and setting e.g. h3 margin to 0 I end up with this..

How close do you want it?
Attachments:
The administrator has disabled public write access.

Clear a space that is not needed 8 years 8 months ago #3715

Good afternoon and thank you very much for your time.

Sorry to bother you because I do not know if it's really for the component or not. I am attaching a picture. I know how to eliminate many spaces with CSS but one that can not be because it is generated code.

The question is do I make the component or is the template?

In the picture you will see that there is a code with spaces in quotes. If you delete this code will earn a small height to the module (you can see it in V2).

Thank you very much and good work.
Attachments:
The administrator has disabled public write access.

Clear a space that is not needed 8 years 8 months ago #3721

Hi,

your screen shots are so small I can't see them..

but I have found something strange in your code

In Firebug if you select
<div class="module mod-headerline deepest" style="min-height: 227px;">

and click the Firebug "Edit" button you see this

<div class="module mod-headerline deepest" style="min-height: 227px;">

<h3 class="module-title"><span>NOVEDADES</span></h3> #65279

<div class="style-headerline" id="FlexibleCarouselHorizontalBasic">
<div class="FlexibleCarousel-horizontal" id="FlexibleCarousel51557956982eb">

the red marked text is causing that gap....

it is the Unicode Character #65279 'ZERO WIDTH NO-BREAK SPACE' (never heard of it)

The problem is I have searched our test installs for this charactor and all the files in the module but I can't find it.
The theory is to use a crappy editor like Notepad that doesn't understand Unicode and it should show.. I can't find it..

the lines in question are around line 290 in
/modules/mod_flexible_vm_carousel/tmpl/default.php

In a "good" editor (e.g. Notepad++) try removing the whitespace and line breaks around that line to see if that makes any difference..

or as some suggest save the file as UTF-8 without BOM (although I don't thik it's in our files - could be the module chrome - try swithcing off the module title and see if the character is till there)

But it could also be in your template files somewhere..

there's a long discussion here -

http://stackoverflow.com/questions/6538203/how-to-avoid-echoing-character-65279-in-php-this-question-also-relates-to-java

also VM related here

http://forum.virtuemart.net/index.php?topic=98700.0
Last Edit: 8 years 8 months ago by John.
The administrator has disabled public write access.
Time to create page: 0.092 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo