• I recently adjusted the CSS of my theme to account for a plugin that was no placing a line break after lists in the body. That was fixed but now, when I hyperlink text inside of a list, it adds a line break after that linked anchor text. Here’s an example:

    https://greatleapstudios.com/blog/copywriting/end-of-budget-copywriting-tips/

    I’ve scoured the CSS but am not finding anything that could cause this. Is it possible a plugin would cause this kind of issue or am I just missing something in styles? Thoughts or suggestion are much appreciated.

    Thanks!
    ~Anthony

Viewing 3 replies - 1 through 3 (of 3 total)
  • The spacing there is being set by the padding in this CSS (line 659 of style.css):

    .widget_nav_menu a, .widget_pages a, .widget_categories a, .widget_archive a, .widget_links a, .widget_meta a, .widget_recent_entries a {
        cursor: pointer;
        display: block;
        padding: 7px 7px 7px 20px;
    }

    Thread Starter chatfielda

    (@chatfielda)

    Hmmm, I tried adjusting, then removing, then adjusting again and it had no effect. It’s weird because it doesn’t happen if the link is in a normal body of text like this:

    https://greatleapstudios.com/blog/advertising/text-based-in-site-advertising-putting-your-content-to-use/ (the text “here” is linked in the 6th paragraph).

    That’s because the normal links are not styled the same way ?? — they are not to be expected to look the same.

    What do you mean you tried adjusting, removing, etc.??

    Try changing the padding in the above CSS (line 660) to
    padding: 0;

    If that does not work, you’ll likely need to look to theme forest for assistance as commercial themes are not really supported here as they are not freely available so people here are not likely to be familiar with them.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Line Break After Link in a List’ is closed to new replies.