WordPress.org

Forums

All-In-One Cufon
[Plugin: All-in-One Cufon] Extra Cufon lines between elements (4 posts)

  1. jmek
    Member
    Posted 4 years ago #

    When using Firefox or Chrome, I am getting an extra blank Cufon line after each block element. (Interestingly, IE 9 and Safari for PC don't have the problem).

    When I View Source on my page, I see

    <p>.....</p>
    <cufon class="cufon cufon-canvas" alt=" " style="width: 4px; height: 16px;"><canvas width="16" height="16" style="width: 16px; height: 16px; top: 1px; left: -1px;"></canvas><cufontext> </cufontext></cufon>
    <p>....</p>

    The extra cufon code appears after paragraphs, headings, and ordered/unordered lists. It does not appear between list items in ordered/unordered lists.

    Any ideas why I’m getting this and how I get rid of it?

    http://wordpress.org/extend/plugins/all-in-one-cufon/

  2. d2graphix
    Member
    Posted 4 years ago #

    I'm having the same problem. Very frustrating. Please help!

  3. bluejpro
    Member
    Posted 4 years ago #

    The selectors need to be very specific.

    I found the hint here in the comments:
    http://developers.squarespace.com/design-coding/post/751893

    If you are getting blank lines on unintended elements, try using very targeted selectors.

    For example, instead of .replace('.sf-menu')
    try
    .replace('sf-menu a')

  4. Ethan
    Member
    Posted 3 years ago #

    @bluejpro, thanks for that tip - exactly what I needed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-In-One Cufon
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic