• Resolved kennnesbitt

    (@kennnesbitt)


    I’m using Print-O-Matic, and recently started using CM Tooltip Glossary Pro, which wraps glossary words in a hyperlink tag that provides a pop-up definition when the mouse-hovers over a word. However, Print-O-Matic displays the link underline and the href attribute.

    What I would like to do, ideally, is have Print-O-Matic ignore/exclude the tag, but still print the text within the tag. In other words, if something like this appears on the page:

    <a class="glossaryLink" ... >glossary term</a>

    I would like it to be printed simply as:

    glossary term

    Is this possible with either Print-O-Matic or Print-Pro-Matic? Thanks!

    • This topic was modified 2 years, 6 months ago by kennnesbitt.
    • This topic was modified 2 years, 6 months ago by kennnesbitt.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    This is @media print css that has been added by your theme:

    // Display the URL of a link after the text
        a,
        a:visited { text-decoration: underline;}
        @if $print-hrefs {
          a[href]:after { content: ' (' attr(href) ')'; }
        }

    To remove these links, it looks like it’s an option in your theme, given the ‘@if $print-hrefs’ condition.

    if you can not figure your theme out, then you can always add the following to the print-o-matic options page > print css sectoin:

    a[href]:after { content: '' !important; }

    Best of luck!

    Thread Starter kennnesbitt

    (@kennnesbitt)

    The latter solution worked. There’s no “options” page or “print css” section, but adding it to Settings > Print-O-Matic > Custom Print Page Style did the trick. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude html tag?’ is closed to new replies.