Margins for custom containers

This support request was posted in BBQ by ARayRVA

Request ID #653 Resolved
  • Hello! I inserted the following line of code in the custom CSS box to get a container around the content in the middle:

    #container {background: #c1a78e;}

    How do I get margins on that container? All of the content is now flush against the edge of the container and it looks weird – like it’s almost cut off.

    Hello,

    You can try with padding-left and padding-right.

    #container{ padding-left:15px; padding-right:15px; }
    

    Juan.

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

This topic is marked as resolved

Only the topic author can re-open this thread.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server