Hi everyone,
I'm happy with the k2 extensions. Unfortunately I'm currently facing something strange.
There's a space between the start of my 'content-div' and the 'k2-container-div' at pages where k2 items are displayed. This space isn't the result of a padding- or margin-thing.
When you inspect the website using Firebug, you'll discover a 'white line' in the html just before the 'startOfPageId#-span' as you can see below:
I'm happy with the k2 extensions. Unfortunately I'm currently facing something strange.
There's a space between the start of my 'content-div' and the 'k2-container-div' at pages where k2 items are displayed. This space isn't the result of a padding- or margin-thing.
When you inspect the website using Firebug, you'll discover a 'white line' in the html just before the 'startOfPageId#-span' as you can see below:
Topic Author
13 years 8 months ago #110160
I'm sorry, this was caused by the period after the URL. I changed it!
(problem fixed, so I deleted the URL)
(problem fixed, so I deleted the URL)
Topic Author
13 years 8 months ago #110161
Can't get rid of it.. When I inspect the element using Google Chrome it shows quotation marks before and after a few white lines:
13 years 7 months ago #110162
Hi!
Same thing is happening to me. Did you find some solution for this problem?
greetings,
Endre
Same thing is happening to me. Did you find some solution for this problem?
greetings,
Endre
Topic Author
13 years 7 months ago #110164
Sorry for the inconvenience Krikor, we're still developing the website. This led to a change in the URL.
I updated my first post with the correct link: (problem fixed, so I deleted the URL)
@Noppe No, I'm afraid I didn't.
I updated my first post with the correct link: (problem fixed, so I deleted the URL)
@Noppe No, I'm afraid I didn't.
13 years 7 months ago #110165
Jonathan,
From what I can see you should check 2 things, any trailing whitespace on top of your item.php template and then the CSS classes inherited from virtuemart.
A quick and dirty approach is also setting your main component container's line-height attribute to 0 and
your #k2Container to your global line-height.
From what I can see you should check 2 things, any trailing whitespace on top of your item.php template and then the CSS classes inherited from virtuemart.
A quick and dirty approach is also setting your main component container's line-height attribute to 0 and
your #k2Container to your global line-height.
Topic Author
13 years 7 months ago #110166
Thanks for your input Krikor.
I found out that the template developer made a item.php template override. I still don't understand what caused the white space, but I solved it by making a new template override.
@noppe If you don't need the override, delete the 'item.php'-file in templates/*yourtemplatename*/html/com_k2/default.
If you do need it, copy the original 'item.php' (components/com_k2/templates/default), paste it in the right template override folder and change that file until it meets your needs.
I found out that the template developer made a item.php template override. I still don't understand what caused the white space, but I solved it by making a new template override.
@noppe If you don't need the override, delete the 'item.php'-file in templates/*yourtemplatename*/html/com_k2/default.
If you do need it, copy the original 'item.php' (components/com_k2/templates/default), paste it in the right template override folder and change that file until it meets your needs.
Log in or create an account to reply.