[Resolved] Exclude wpshow posts from underline links

Home Forums Support [Resolved] Exclude wpshow posts from underline links

Home Forums Support Exclude wpshow posts from underline links

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #950682
    Carlo

    Hi,
    i just add the following code to add a undeline to all links inside of the content.

    .entry-content a,
    .entry-content a:visited,
    .entry-content a:hover {
        text-decoration: underline;
    }

    problem is that it has also added underline links to WPSHowPosts (im using them on custom category pages). any way to exclude that?
    also if possible to exclude all the H1-H4?

    only want the actual content to have underlined links if possible.

    thanks

    #950779
    Leo
    Staff
    Customer Support

    Hi there,

    We would need to add a more specific selector to remove the underline for WP Show Posts.

    Any chance you can link us to the page in question?

    You can edit the original topic and use the private URL field.

    Let me know 🙂

    #950921
    Carlo

    Hey Leo, I just updated the first post with the link.

    #951024
    David
    Staff
    Customer Support

    Hi there,

    try this CSS to remove them from the WPSP list:

    .wp-show-posts-entry-title a {
        text-decoration: none !important;
    }
    #953783
    Carlo

    brilliant, worked like a charm!

    #953918
    David
    Staff
    Customer Support

    You’re welcome

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.