Solved

add spacing between site and background image

Posted on 2016-09-15
6
119 Views
Last Modified: 2016-09-21
I added a background image to a wordpress template.  Now all elements of the site are way to close to the edges.  I tried adding padding and/or margins to various elements but it didn't work too good. Any ideas?  This should be a simple fix but every time I try to fix it I just make matters worse.  Doesn't help that I am sick today either...  : (

http://380.38e.myftpupload.com/
0
Comment
Question by:nsitedesigns
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
ResQTek Nancy earned 500 total points
ID: 41800511
I was playing with the style in the "site-container" DIV and played with these properties to get some results:

{
    width: 1024px;
    padding: 10px;
    margin: auto;
    background-color: white;  /* this in particular was needed to get the padding to be visible */
}
1
 

Author Comment

by:nsitedesigns
ID: 41800527
I increased the width to 1224px and that seemed to do the trick!
0
 

Author Closing Comment

by:nsitedesigns
ID: 41800528
thanks!!!!!
0
Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

 

Author Comment

by:nsitedesigns
ID: 41800590
Oh no!  When I resize the site by grabbing the lower right corner, it doesn't resize properly!  Help!!!!
0
 
LVL 5

Expert Comment

by:ResQTek Nancy
ID: 41800662
Try using a percentage in the width, like 65%, instead of fixed pixels. Maybe that will work for you.
0
 

Author Comment

by:nsitedesigns
ID: 41809077
Worked!
0

Featured Post

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SP result not being displayed 5 67
How to get chosen background-color on every line? 10 43
boostsrap 1 32
Dropdown animation to normal dropdown 6 28
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question