Premium support

Please log in to post in these forums. If you didn't create an account when you purchased, please contact us.

Free support

If you haven't purchased GP Premium, support for the free theme can be found on WordPress.org.

[Support request] Link style outside of content area

Home Forums Support Link style outside of content area

Tagged: , , ,

This topic contains 1 reply, has 2 voices, and was last updated by  Leo 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #470171

    Hi there, this is on the topic of link style, so I hope it’s okay if I add it here. Let me know if I should create a new topic.

    I am using the CSS

    .inside-article a, a:visited, a:active {
    text-decoration: underline;
      text-decoration-style: underline;
    }
    
    .inside-article a:hover {
      text-decoration: underline;
      text-decoration-style: dotted;
    }

    because I also want the titles and “read more” underlined on my blog index pages. This excludes the underline from appearing on menus etc, which is good, but there are two issues:

    1. It adds underlines to my post date and meta, which I’d rather not have.
    2. it doesn’t apply to hyperlinks that appear in my hooks, which I’d like to have the same underlining for colorblind accessibility.

    You can see an example of what I mean at https://www.dalecameronlowry.com/category/for-writers/. The hook area where I’d like hyperlinks underlined is the gray box that appears directly below “for writers” at the top of the page.

    Possible solutions?

    GeneratePress 2.0.1
    GP Premium 1.5.6
    #470364

    Leo
    Staff

    Hi there,

    Instead of using your current CSS, try this instead:

    .lightbox a,
    .entry-summary a {
        text-decoration: underline;
    }

    Want to help support GP? Please consider leaving us a review!
    https://wordpress.org/support/theme/generatepress/reviews

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.