Keyword

strange space just before startofpage#-span

  • Jonathan Peene
  • Jonathan Peene's Avatar Topic Author
  • Offline
  • New Member
More
11 years 7 months ago - 11 years 4 months ago #110158 by Jonathan Peene
strange space just before startofpage#-span was created by Jonathan Peene
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:
Log in  or Create an account to join the conversation.

More
11 years 7 months ago #110159 by william white
Replied by william white on topic Re: strange space just before startofpage#-span
your k2 link returns 404

Please Log in or Create an account to join the conversation.

  • Jonathan Peene
  • Jonathan Peene's Avatar Topic Author
  • Offline
  • New Member
More
11 years 7 months ago - 11 years 4 months ago #110160 by Jonathan Peene
Replied by Jonathan Peene on topic Re: strange space just before startofpage#-span
I'm sorry, this was caused by the period after the URL. I changed it!
(problem fixed, so I deleted the URL)

Please Log in or Create an account to join the conversation.

  • Jonathan Peene
  • Jonathan Peene's Avatar Topic Author
  • Offline
  • New Member
More
11 years 7 months ago - 11 years 7 months ago #110161 by Jonathan Peene
Replied by Jonathan Peene on topic Re: strange space just before startofpage#-span
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:
Log in  or Create an account to join the conversation.

More
11 years 6 months ago #110162 by noppe
Hi!

Same thing is happening to me. Did you find some solution for this problem?

greetings,
Endre

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 6 months ago #110163 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: strange space just before startofpage#-span
I still get a 404 error.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Jonathan Peene
  • Jonathan Peene's Avatar Topic Author
  • Offline
  • New Member
More
11 years 6 months ago - 11 years 4 months ago #110164 by Jonathan Peene
Replied by Jonathan Peene on topic Re: strange space just before startofpage#-span
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.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 6 months ago #110165 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: strange space just before startofpage#-span
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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Jonathan Peene
  • Jonathan Peene's Avatar Topic Author
  • Offline
  • New Member
More
11 years 6 months ago - 11 years 6 months ago #110166 by Jonathan Peene
Replied by Jonathan Peene on topic Re: strange space just before startofpage#-span
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.

Please Log in or Create an account to join the conversation.