Solved

add spacing between site and background image

Posted on 2016-09-15
6
76 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
  • 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article discusses four methods for overlaying images in a container on a web page
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now