Title: Code Where it Shouldn&#039;t Be
Last modified: August 21, 2016

---

# Code Where it Shouldn't Be

 *  Resolved [erindipitous](https://wordpress.org/support/users/erindipitous/)
 * (@erindipitous)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/code-where-it-shouldnt-be/)
 * If you heard banging against the wall, that was just my head! 🙂
 * Found “span style=”color: #000000;”span style=”font-size: medium;” displayed 
   at the bottom of this page: [http://bit.ly/14GfXkc](http://bit.ly/14GfXkc).
 * I also found code under the slider of every page (which is a problem in of itself).
   I deleted it and now the text on every page is centered. Agh! (Of course I accidentally
   deleted my GetDiz copy of what it said – <div> something or other.)
 * Any help would be appreciated.

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

 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/code-where-it-shouldnt-be/#post-4118656)
 * Ok the span code is in the content of your post. I’ll take a guess and say you
   pasted that text into your post from word? If so thats why you have all the inline
   styling.
 * As for the slider. You are using a plugin slider or something you added yourself
   but you have also selected in the post settings to have an image in the header.
   The image you have marked as featured it’s likely small and thus doesn’t fill
   the header. Head the text there.
 * Just update your post and remove the header image.
    Also if you are going to 
   paste from word do so with caution and use the wordpress paste from word option.
 * Kadence Themes
 *  [Flash Buddy](https://wordpress.org/support/users/flashbuddy/)
 * (@flashbuddy)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/code-where-it-shouldnt-be/#post-4118657)
 * Hey, that is a pretty cool theme. It uses ‘bootstrap’!
 * It would appear the code:
 *     ```
       span style=”color: #000000;”span style=”font-size: medium;”
       ```
   
 * …showing on the page can be deleted by logging in and editing that blog post.
 * You can get your text left aligned by adding a child theme, or custom css file(
   prefer child theme) and finding:
 *     ```
       p {
           margin: 0 0 10px;
       }
       ```
   
 * add to it another line just below margin:
 *     ```
       text-align: left;
       ```
   
 * How are you getting your copy in there? Copy and paste? I see a lot of what seem
   to be unecessary span tags with css styles. Wouldn’t you want to use the existing
   styles? Isn’t that what theming is all about?
 *  Thread Starter [erindipitous](https://wordpress.org/support/users/erindipitous/)
 * (@erindipitous)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/code-where-it-shouldnt-be/#post-4118681)
 * Wow, thanks guys. Okay, since you seem to be speaking a language that looks like
   English but is “computer Greek,” I’ll take it step by step.
 * 1. The post was copied from Word and then inserted into the WP Paste from Word
   option. Strange formatting occurred. When I tried again, I still had issues. 
   Maybe three times a charm?
 * 2. I think I understand what you mean about the featured image. I was trying 
   to set the blog image as the featured image on the front page – in the slider
   or with the post description. Is that possible, to put an image in with the description
   on the home page?
 * Thanks, Kadence Themes!
 * Now for you, flashbuddy…Your lingo may take some time to translate. Here we go.
 * 1. How would one edit this in the post?
    `span style=”color: #000000;”span style
   =”font-size: medium;"`
 * 2. I will try the child theme. That will be new for me, but a lesson just the
   same. Thank you for the advice.
 * 3. I’m beginning to think you’re right about the ‘theming’ bit. 20/20 hindsight
   is always perfect, right?!
 * Two thumbs up for your help! 🙂
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/code-where-it-shouldnt-be/#post-4118686)
 * I would just not paste from word. Move it over to a plain text editor. Then into
   wordpress.
 * You can set a featured image and then choose your post summery option but lead
   your post header option on none.
 * Kadence Themes

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

The topic ‘Code Where it Shouldn't Be’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.15/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/code-where-it-shouldnt-be/#post-4118686)
 * Status: resolved