Solved

Wordpress Page with huge margin.

Posted on 2012-03-25
3
398 Views
Last Modified: 2012-04-04
My site located at carlosparra.com/ryans is showing me a huge margin to the right keeping the page from being centered and expanding the window to the right. I need to get rid of this margin but I have looked over my entire stylesheet and cannot find it for the life of me. It is a child theme of Twenty Eleven.
0
Comment
Question by:AngryHermit
3 Comments
 

Expert Comment

by:Alex_Dumitrache
ID: 37764702
Check the footer. That's where you have the extra margin.

Search and remove this from the footer styling :

padding: 2.2em
0
 
LVL 5

Accepted Solution

by:
Robin Hall earned 500 total points
ID: 37799009
AngryHermit,

The area that caused the huge right margin to be corrected on my screen was this tag in your footer.  You have the width set to 300%:

#grey {
    background: none repeat scroll 0 0 #0C0C0C;
    height: 9em;
    line-height: 10em;
    margin-bottom: 0;
    margin-left: -50%;
    margin-top: -6.69em;
    overflow: visible;
    width: 300%; -  You should change this to 100%
    z-index: 1;
}
0
 

Author Closing Comment

by:AngryHermit
ID: 37807275
This was definitively it, must have been really tire when I was thinking that would solve my full width footer option. Thank you.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Input box gone wrong 8 25
Need help with WordPress On-click Action functionality 3 38
Botom of page is wrong color 5 11
How do I pull the base url for use in html links 7 23
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

832 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