Title: Weird link problem inside p
Last modified: September 10, 2019

---

# Weird link problem inside p

 *  Resolved [resafm](https://wordpress.org/support/users/resafm/)
 * (@resafm)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/weird-link-problem-inside-p/)
 * For every link inside a paragraph, I have the same issue when we hover it: the
   link either breaks into a new line or it simply isn’t recognised as one…
    The
   weirdest thing is that I’ve tried to run the same code in an editor and it works
   fine… I’m quite puzzled by this and I’d be so grateful by any help given. Thank
   you in advance!
    -  This topic was modified 6 years, 9 months ago by [resafm](https://wordpress.org/support/users/resafm/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fweird-link-problem-inside-p%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [mrtom414](https://wordpress.org/support/users/mrtom414/)
 * (@mrtom414)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/weird-link-problem-inside-p/#post-11919108)
 * it because of this css rule
 *     ```
       .dropdown-child:focus-within>a, a:hover {
           visibility: visible;
           opacity: 1;
            display: block;
       }
       ```
   
 * when the code is set to block it wants to occupy the entire line try changing
   display block to display:inline;
 *     ```
       .dropdown-child:focus-within>a, a:hover {
        display:inline;
       }
       ```
   
    -  This reply was modified 6 years, 9 months ago by [mrtom414](https://wordpress.org/support/users/mrtom414/).
 *  Thread Starter [resafm](https://wordpress.org/support/users/resafm/)
 * (@resafm)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/weird-link-problem-inside-p/#post-11920959)
 * Thank you so much!! It works just fine now!

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

The topic ‘Weird link problem inside p’ is closed to new replies.

## Tags

 * [link](https://wordpress.org/support/topic-tag/link/)
 * [paragraph](https://wordpress.org/support/topic-tag/paragraph/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [resafm](https://wordpress.org/support/users/resafm/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/weird-link-problem-inside-p/#post-11920959)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
