Title: Changing the bottom margin without using a shortcode?
Last modified: December 4, 2016

---

# Changing the bottom margin without using a shortcode?

 *  [Jay](https://wordpress.org/support/users/uscore713/)
 * (@uscore713)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/changing-the-bottom-margin-without-using-a-shortcode/)
 * I need to increase the margin-bottom from the default of 1em to 2em, and I’d 
   like to be able to do that without have to resort to embedding a shortcode (which
   provides CSS customization).
 * I edited by child theme’s style.css to include this rule, but it had no effect:
 *     ```
       div#toc_container: {
           margin-bottom: 2em !important;  /* default is 1em */
       }
       ```
   
 * I verified that the updated style.css was loaded with the page (via Inspect),
   but it had no effect. in fact, my new rule didn’t even show up in the style hierarchy
   in the Inspection.
 * What silly thing might I be doing wrong?

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

 *  [ThemeSumo](https://wordpress.org/support/users/themesumo/)
 * (@themesumo)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/changing-the-bottom-margin-without-using-a-shortcode/#post-8512178)
 *     ```
       div#toc_container {
           margin-bottom: 2em !important; 
       }
       ```
   
 * You added a colon in your code `:`, I assume this is the reason why your CSS 
   isn’t working. If this isn’t the case then please update this thread with a link
   to your site so I can inspect further.
 * Thanks.
 *  Thread Starter [Jay](https://wordpress.org/support/users/uscore713/)
 * (@uscore713)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/changing-the-bottom-margin-without-using-a-shortcode/#post-8512181)
 * Good grief, thanks. Funny how my syntax checker missed that. 🙁
 * Here it is, 8am on a Sunday morning and I get a response 5 minutes after posting.
   You rock, ThemeSumo. Many thanks!
    -  This reply was modified 9 years, 6 months ago by [Jay](https://wordpress.org/support/users/uscore713/).

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

The topic ‘Changing the bottom margin without using a shortcode?’ is closed to new
replies.

 * ![](https://ps.w.org/table-of-contents-plus/assets/icon-256x256.png?rev=1151771)
 * [Table of Contents Plus](https://wordpress.org/plugins/table-of-contents-plus/)
 * [Support Threads](https://wordpress.org/support/plugin/table-of-contents-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/table-of-contents-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/table-of-contents-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/table-of-contents-plus/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/uscore713/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/changing-the-bottom-margin-without-using-a-shortcode/#post-8512181)
 * Status: not resolved