Title: Logo top-margin, css issue
Last modified: August 20, 2016

---

# Logo top-margin, css issue

 *  [rdembrun](https://wordpress.org/support/users/rdembrun/)
 * (@rdembrun)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/logo-top-margin-css-issue/)
 * So I’m having issues with my logo on my website (dreamweddingphoto.net). I can’t
   seem to get a top margin. It should be 20px below the shadow box. I have tried
   margin-top, just plain margin, floating, etc. Any other ideas?
 * ‘#logo {
    background-image: url(“images/dreamlogo.jpg”); height:126px; width:
   274px; margin-left:310px; margin-bottom:30px; }’

Viewing 1 replies (of 1 total)

 *  [wspencer](https://wordpress.org/support/users/wspencer/)
 * (@wspencer)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/logo-top-margin-css-issue/#post-2442105)
 * try this…
 *     ```
       margin: 30px 0 30px 310px;
       ```
   
 * You could also try to use padding-top: 30px if that doesn’t work and you just
   need a quick fix.
 * I also recommend that you don’t set the left margin to center your div. You can
   use margin-left: auto and margin-right: auto to center the div if the width isn’t
   set to 100%, which yours isn’t

Viewing 1 replies (of 1 total)

The topic ‘Logo top-margin, css issue’ is closed to new replies.

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [wspencer](https://wordpress.org/support/users/wspencer/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/logo-top-margin-css-issue/#post-2442105)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
