WordPress.org

Forums

[resolved] WordPress adding span font elements (3 posts)

  1. thepickledegg
    Member
    Posted 7 years ago #

    I am trying to style the p elements in post section. However wordpress is inserting inline span elements that override the style sheets, see below.It is only inserting the span in the <p>. How do you get rid of the span tag?
    I am using a modified version of the WordPress Default 1.6
    Thanks

    <div class="entry"><p><span style="font-size: 14pt; font-family: Arial">If you are able to make the ugliest shoe in the history of shoes would you? You would if they were comfortable right? They would have to be otherwise they’d be ugly and uncomfortable.</span><span style="font-size: 14pt; font-family: Arial"> </span><span style="font-size: 14pt; font-family: Arial"> </span></p>

  2. Those are most likely in your post content itself. Edit the post and remove the span's.

  3. thepickledegg
    Member
    Posted 7 years ago #

    Thanks Otto42! That was it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags