- Posts: 5
COMMUNITY FORUM
strange space just before startofpage#-span
- Jonathan Peene
-
Topic Author
- Offline
- New Member
Less
More
12 years 3 months ago - 12 years 3 days 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:
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.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
12 years 3 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
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
12 years 3 months ago - 12 years 3 days 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)
(problem fixed, so I deleted the URL)
Please Log in or Create an account to join the conversation.
- Jonathan Peene
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
12 years 2 months ago - 12 years 2 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.
- noppe
-
- Offline
- New Member
Less
More
- Posts: 5
12 years 1 month ago #110162
by noppe
Replied by noppe on topic Re: strange space just before startofpage#-span
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
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
12 years 1 month ago #110163
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: strange space just before startofpage#-span
I still get a 404 error.
Please Log in or Create an account to join the conversation.
- Jonathan Peene
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
12 years 1 month ago - 12 years 3 days 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.
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
12 years 1 month 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.
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.
Please Log in or Create an account to join the conversation.
- Jonathan Peene
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
12 years 1 month ago - 12 years 1 month 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.
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.