• Jay

    (@uscore713)


    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)
  • 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

    (@uscore713)

    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 7 years, 4 months ago by Jay.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing the bottom margin without using a shortcode?’ is closed to new replies.