Title: Box around text?
Last modified: August 30, 2016

---

# Box around text?

 *  [Reinb](https://wordpress.org/support/users/reinb/)
 * (@reinb)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/box-around-text/)
 * I’ve got a bunch of text that I want to put a frame around so it looks a bit 
   cleaner. Is there a way to do this without a widget? I’ve managed to code it 
   in HTML before but I can’t seem to figure it out in WordPress.
 * [http://www.dispuutiuventus.nl/evolutie](http://www.dispuutiuventus.nl/evolutie)

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

 *  [codemovement.pk](https://wordpress.org/support/users/codemovementpk/)
 * (@codemovementpk)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/box-around-text/#post-6871619)
 * If you have managed through code you can do it through child theme style.css 
   in following class
 *     ```
       .single_post {
        /* your code goes here */
       }
       ```
   
 * To understand child theme here is
 * [https://codex.wordpress.org/Child_Themes](https://codex.wordpress.org/Child_Themes)
 *  Theme Author [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * (@layerthemes)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/box-around-text/#post-6871694)
 * Hi
 * Insert this in Appearance -> Customize -> Miscellaneous -> Custom CSS
 *     ```
       .thn_post_wrap h4{
          border:2px solid #f2e200;
          padding:2%;
          box-sizing:border-box;
       }
       ```
   
 * Thanks

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

The topic ‘Box around text?’ is closed to new replies.

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

 * 2 replies
 * 3 participants
 * Last reply from: [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/box-around-text/#post-6871694)
 * Status: not resolved