Title: remove span elements after export import
Last modified: August 31, 2016

---

# remove span elements after export import

 *  [Steve Kimpton](https://wordpress.org/support/users/stevekimpton/)
 * (@stevekimpton)
 * [10 years ago](https://wordpress.org/support/topic/remove-span-elements-after-export-import/)
 * I’m shifting a site to a new host and doing all sorts of updates too including
   theme change. (I didn’t create the original site)
 * I used export/import and thought everything was fine until the customer asked
   for a change of link colour.
 * In the old site the links were coded properly as
    [zzz](http://yyy/) so that 
   the style sheet dictated the colour
 * But they are now
    [<span style=color:”0000ff”>zzz</span>](http://yyy/) so the
   style sheet has no impact.
 * I don’t know where the problem came from but does anyone know of any fix that
   can remove the style from the span throughout the rather large site?

Viewing 1 replies (of 1 total)

 *  Thread Starter [Steve Kimpton](https://wordpress.org/support/users/stevekimpton/)
 * (@stevekimpton)
 * [10 years ago](https://wordpress.org/support/topic/remove-span-elements-after-export-import/#post-7169794)
 * Oops – should have formatted the appropriate bits…
 * `<a href="xxx">zzz</a>`
 * has become
 * `<a href="xxx"><span style="0000ff">zzz</span></a>`

Viewing 1 replies (of 1 total)

The topic ‘remove span elements after export import’ is closed to new replies.

## Tags

 * [remove styles](https://wordpress.org/support/topic-tag/remove-styles/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Steve Kimpton](https://wordpress.org/support/users/stevekimpton/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/remove-span-elements-after-export-import/#post-7169794)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
