Margin not working / Twenty Eleven Theme

  • Unknown's avatar

    I’m not excellent at customizing wordpress css, and I’ve spent the past hour trying to work out how to get a margin on my sidebar. I’ve tried just doing it the normal way, but just adding a margin to the div in style.css..

    #primary,
    #secondary {
    	float: right;
    	overflow: hidden;
    	width: 220px;
    	margin: 10px;
    }

    which did the opposite of what i wanted, and made the content go a further 10 px to the left. So I replaced it with -10px, which worked, but I then remember I only wanted the margin on the left after seeing that the search box was half hidden. So I replaced margin with ‘margin-left’… which did nothing at all =/. I tried ‘margin: 0 0 0 -10px’, but that didn’t work either.

    I feel silly asking what seems like such a simple question. Would any one have any idea how to fix this? I’d really appreciate it!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    The blog you specified at thegnomedoor.com does not appear to be hosted at WordPress.com.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • Unknown's avatar
  • The topic ‘Margin not working / Twenty Eleven Theme’ is closed to new replies.