Keyword

Extra spaces in item titles in all views

  • andre.balian
  • andre.balian's Avatar Topic Author
  • Offline
  • New Member
More
14 years 9 months ago #79305 by andre.balian
Extra spaces in item titles in all views was created by andre.balian
Hi everybody,I'm using a Cufon plugin on my site, and I noticed that there was an extra space showing up on item titles in all views.  I disabled the plugin, and inspected the element with firebug, and this is what I found:All titles have extra spaces before and after the text:So a title that should be:"PHP 5.3.x Wierdness"is actually rendered as:"           PHP 5.3.x Wierdness                            "I looked in the K2 templates for some indication of why this is happening, but found none.  What to do about this one?  I believe the same display error will occur with SIFR also.I appreciate any help that can be provided.  Having indented item titles looks awful.  One more thing:  I just disabled linked item titles, and the rendered text looks better, however still contains all the spaces. 

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

More
14 years 9 months ago #79306 by Simon Wells
Replied by Simon Wells on topic Extra spaces in item titles in all views
Do you have a link to the site?
Which version of K2?

Regards

Simon
K2Joom.com

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

  • andre.balian
  • andre.balian's Avatar Topic Author
  • Offline
  • New Member
More
14 years 9 months ago #79307 by andre.balian
Replied by andre.balian on topic Extra spaces in item titles in all views
www.baliandesign.com/portfolio.html

It's K2 2.2

If you disable Javascript you can see it without cufon, then inspect element and you'll find the spaces.

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

More
14 years 9 months ago #79308 by Simon Wells
Replied by Simon Wells on topic Extra spaces in item titles in all views
I used to use SiFR3 and had similar problems, even with Joomla Articles.
Will check my support history to see if I had a fix.

Simon

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

More
14 years 9 months ago #79309 by Simon Wells
Replied by Simon Wells on topic Extra spaces in item titles in all views
On your site it is adding additional an cufon class="cufon cufon-canvas" with a width of 14px, this is causing the indent.

Not sure if there are any parameters for this plugin to control that, ou might have to contact cufon vendor direct or check the supplied files.

Does not look like a K2 issue.
Try, i hate to say it, with a J! article.

Simon

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


Powered by Kunena Forum