Title: how to decrease margin size between text-blocks
Last modified: August 30, 2016

---

# how to decrease margin size between text-blocks

 *  [eunchae](https://wordpress.org/support/users/eunchae/)
 * (@eunchae)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/how-to-decrease-margin-size-between-text-blocks/)
 * This is my website: [http://www.pharmatek.com/blog/](http://www.pharmatek.com/blog/)
 * Between the “What is Birefringence” block and the “text-with separator block (
   which in this page is the date), I would like to decrease the margin size. I 
   can’t seem to find the code which would decrease this. Your help is very much
   appreciated! Thanks.

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

 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/how-to-decrease-margin-size-between-text-blocks/#post-6418307)
 * Hey there eunchae,
 * How are you doing today?
 * If this is the space you’re referring to [http://screencast.com/t/gZIUr8MBm](http://screencast.com/t/gZIUr8MBm)
   then it should be possible to reduce/remove it by adding the following CSS code
   in the style.css file of your [child theme](http://codex.wordpress.org/Child_Themes)
   or if your theme doesn’t have custom CSS tab add it in your site using the following
   plugin:
 * [http://wordpress.org/plugins/simple-custom-css](http://wordpress.org/plugins/simple-custom-css)
 *     ```
       .vc_separator.wpb_content_element.vc_separator_align_left.vc_el_width_100.vc_sep_color_grey {
           margin-bottom: 35px;
       }
       ```
   
 * Please note that this is the original bottom margin on that element and to decrease
   the space please decrease numeric value to what ever suits you the most.
 * If the code doesn’t work please keep it added and let me know so I can take a
   look 🙂
 * Cheers,
    Bojan
 *  Thread Starter [eunchae](https://wordpress.org/support/users/eunchae/)
 * (@eunchae)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/how-to-decrease-margin-size-between-text-blocks/#post-6418343)
 * Hi Bojan! Thank you for your kind help.
    I forgot to address that this theme 
   is only used for this page specifically. This permalink is run through a different
   parent site and parent theme. I installed a plugin where it allows you to install
   a different theme for different pages so I have been custom coding everything
   onto the theme folder because the plugins are usually meant for the parent theme
   page only.
 * I installed a child theme for this page’s theme(blog page), but the parent theme
   and settings seems to override all the coding for the blog page…The code you 
   gave me does not work : /
 * Is there possibly any other way I can do this? thanks so much Bojan!
 *  Thread Starter [eunchae](https://wordpress.org/support/users/eunchae/)
 * (@eunchae)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/how-to-decrease-margin-size-between-text-blocks/#post-6418360)
 * Also, I am using visual composer to edit the page!
 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/how-to-decrease-margin-size-between-text-blocks/#post-6418401)
 * Hey eunchae,
 * I don’t have any experience with the plugin you’re using (the one that allows
   you to use different themes on specific pages) so I’m not exactly sure where 
   you’re supposed to add custom CSS.
 * My best guess would be to the theme style.css which is the one that is active
   on that page.
 * What you can try is using plugin I mentioned above [http://wordpress.org/plugins/simple-custom-css](http://wordpress.org/plugins/simple-custom-css),
   once the plugin is installed and activated you can add CSS code to Appearance-
   > Custom CSS. Those styles should load last so the code should work.
 * If it doesn’t please keep it added and let me know so I can take a look.
 * Best regards,
    Bojan

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

The topic ‘how to decrease margin size between text-blocks’ is closed to new replies.

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/how-to-decrease-margin-size-between-text-blocks/#post-6418401)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
