[Support request] Hyperlinks not visible inside draft posts

Home Forums Support [Support request] Hyperlinks not visible inside draft posts

Home Forums Support Hyperlinks not visible inside draft posts

  • This topic has 3 replies, 2 voices, and was last updated 1 month ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2282867
    Jim

    Links inside draft posts are no longer underlined so I can’t recognize hyperlinks in my posts.
    I’m using a Generatepress child theme and the most recent versions of; Generatepress, and GenerateBlocks. WordPress 6.0.1.

    In Chrome DevTools, I notice there is some code that causes the links to not be underlined: https://i.imgur.com/v2NJYCp.png

    So this is the cause:
    .editor-styles-wrapper .wp-block a {
    text-decoration: none;
    }

    Resulting the following code is striked through (inactive):
    .wp-block a {
    text-decoration: underline;
    }

    What caused this unwanted code to appear, and how can it be removed so internal links are visible in draft posts again?

    Thanks in advance,

    Jim

    #2282915
    Leo
    Staff
    Customer Support

    Hi there,

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

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know 🙂

    #2283502
    Jim

    Hi Leo, appreciate the reply.

    You are asking for a link to the page in question. But the issue is with draft posts, which means you must have access to the backend first before I can send you a link to view.

    But, nonetheless, regarding the information I provided earlier:
    – Does that code/class comes from Gutenberg/Wordpress core?
    – Or does that code/class comes from GeneratePress/GenerateBlocks?
    – Maybe, since both WordPress and GeneratePress are so widespread, someone identifies the code or class that sets the ‘text-decoration:none;’, and can tell me where/which files I can edit it, so that hyperlinks inside draft posts are underlined again?

    Many thanks,

    Jim

    #2283818
    Leo
    Staff
    Customer Support

    I can’t tell by looking at a screenshot unfortunately.

    Can you do a quick test to see if the same issue exists in a Twenty series WP theme?

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