WordPress.org

Ready to get started?Download WordPress

Forums

Alligator Popup
[resolved] Link text appearing in a "code"-like style (9 posts)

  1. avatiach
    Member
    Posted 8 months ago #

    Hi,

    This plugin looks amazing and I just have one small problem that drives me nuts since I'm sure it's me missing something stupid (I'm a total newbie).

    When I use the shortcode for the popup, everything works great and the only thing is that my link text shows up in a code-like background. Like this:

    Link text

    (only with a gray background, not white as above)

    What might I be missing?

    Many thanks in advance for any assistance!

    http://wordpress.org/plugins/alligator-popup/

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Plugin Author

    Posted 8 months ago #

    can you post a link to a page on your site where you are using the plugin, so I can see it please?

  3. cubecolour
    ɹoʇɐɹǝpoɯ
    Plugin Author

    Posted 8 months ago #

    I'd love to help, but I can't unless you provide a link where I can see the problem, so I'll set this to resolved until you respond.

  4. avatiach
    Member
    Posted 8 months ago #

    So sorry for missing your earlier response! REALLY appreciate your willingness to help here.

    Here's a page (it's work in progress, apologies :-). I used the shortcode on the link "Lyrics" under the headline saying "We are not alone": http://www.theduckblog.com/?page_id=180

    Many thanks again for the responsiveness!

  5. cubecolour
    ɹoʇɐɹǝpoɯ
    Plugin Author

    Posted 8 months ago #

    The code styling is being defined from the pre & code tags surrounding the lyrics link. You should see the opening & closing tags in the text editor for the page.

    <pre><code><a href="http://www.theduckblog.com/?page_id=16" class="popup" data-width="300" data-height="300">Lyrics</a></code></pre>

    I'm not sure whether your theme has any suitable block level elements you can use instead, but you could try something like
    <blockquote> instead of these.

  6. avatiach
    Member
    Posted 8 months ago #

    thanks so much! I wasn't able to find a way to remove these tags, but since I know I won't need special treatment for code or pre, I simply changed the CSS for these tags to remove this background. Couldn't have done it without your guidance!

  7. cubecolour
    ɹoʇɐɹǝpoɯ
    Plugin Author

    Posted 8 months ago #

    The <pre> &<code> tags are not added as part of the plugin's output, so you should be able to remove them using in the text tab of the page/post editor.

  8. avatiach
    Member
    Posted 8 months ago #

    Yup, clear - I assume they're added by the template somewhere? In any case, I'm more than happy with the plugin and consider the issue resolved and your support superb!

  9. avatiach
    Member
    Posted 8 months ago #

    (marking as resolved)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.