Title: Margin control
Last modified: August 31, 2016

---

# Margin control

 *  Resolved [foxtrio](https://wordpress.org/support/users/foxtrio/)
 * (@foxtrio)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/margin-control/)
 * I have “spacious” them and I have “food and drink menu plugin”
    I made several
   menu . I put below for side bar on the left. “#secondary { width: 10%;} #primary{
   width: 90% } [@media](https://wordpress.org/support/users/media/) screen and (
   max-width: 960px) { #main #secondary { display: none; } } .hide_on_mobile “
 * BUT, my problem is the margin. on my menu mobile version all my contents in menu
   are going on to right. so looks not pretty… Please help
 * Jangwon1.wpengine.com for reference

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years, 4 months ago](https://wordpress.org/support/topic/margin-control/#post-6923153)
 * If you’re not using a Child Theme, and if the theme doesn’t have a designated
   section of the dashboard for CSS modifications then do the following:
    1. Install this Custom CSS Manager plugin [http://wordpress.org/plugins/custom-css-manager-plugin](http://wordpress.org/plugins/custom-css-manager-plugin)
    2. use its “CSS Code” [section of the dashboard](https://s.w.org/plugins/custom-css-manager-plugin/screenshot-1.jpg?r=1288706)
       to hold your CSS modifications:
    3.  (put this code in)
    4.     ```
           @media screen and (max-width: 420px) {
               .entry-content .fdm-menu,
               .entry-content ul {
                   padding: 0;
               }
       
               body #primary {
                   width: 100%;
               }
           }
           ```
       
    5. Save
 * _Alternatively use your Child Theme style.css file to hold your CSS modifications_
 * Just note that in future, if you have a responsive theme then you have to really
   think about the CSS you’re using. Don’t just think about desktop. Always start
   with mobile.
 *  Thread Starter [foxtrio](https://wordpress.org/support/users/foxtrio/)
 * (@foxtrio)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/margin-control/#post-6923158)
 * IT WORKED!!! THANK YOU SO MUCH!!!!!!

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

The topic ‘Margin control’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [foxtrio](https://wordpress.org/support/users/foxtrio/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/margin-control/#post-6923158)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
