Margin not working / Twenty Eleven Theme

  • Author
  • #650731


    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..

    #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



    The blog you specified at does not appear to be hosted at

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

    If you don’t understand the difference between and, 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.



    Is this the blog in question?

The topic ‘Margin not working / Twenty Eleven Theme’ is closed to new replies.