Title: pre-Tag-Styling
Last modified: January 18, 2018

---

# pre-Tag-Styling

 *  Resolved [vacantposts](https://wordpress.org/support/users/vacantposts/)
 * (@vacantposts)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/styling-72/)
 * I am writing a custom theme and have changed posts_loop_template.php to my custom
   template and post-page_styles.css to my custom CSS. Just to be sure I copied 
   it both into my custom theme directory and replaced the files in the plugin directory.
   I am calling the shortcode via a single page.
 * However, even though no original CSS code is left, there are stylistic overrides
   happening and I have no idea why. A pre-tag is being added around my content 
   loop which changes my CSS, aswell as a “post-meta-key” <span> class which I don’t
   need, right into my custom layout.
 * How is this happening? How can I delete/override it?
 * Thanks a lot in advance!
    -  This topic was modified 8 years, 4 months ago by [vacantposts](https://wordpress.org/support/users/vacantposts/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [vacantposts](https://wordpress.org/support/users/vacantposts/)
 * (@vacantposts)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/styling-72/#post-9877172)
 * OK, I got it. This was a really stupid mistake. I had copied the shortcode from
   the website and when inserting it inside the single page, the pre-tag formatting
   was included without me noticing.
 * So if anybody encounters the same problem: go into page editing mode, switch 
   from “Visual” to “Text” and make sure there are no tags around the shortcode.

Viewing 1 replies (of 1 total)

The topic ‘pre-Tag-Styling’ is closed to new replies.

 * ![](https://ps.w.org/posts-in-page/assets/icon-256x256.png?rev=1596190)
 * [Posts in Page](https://wordpress.org/plugins/posts-in-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-in-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-in-page/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-in-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-in-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-in-page/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [vacantposts](https://wordpress.org/support/users/vacantposts/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/styling-72/#post-9877172)
 * Status: resolved