Support » Fixing WordPress » Cannot get rid of margins

  • Cotton77

    (@cotton77)


    I’m trying to get rid of the left and right margins on either side of my hero image on my homepage so it is the full width of the browser.

    I’ve tried:

    .col-full{
       margin-left: 0px;
       margin-right: 0px;}

    That will get rid of the left margin, but double the thickness of the right. My site can seen at http://www.cottrellhomes.com

    Any help is greatly appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    the image is as wide as the content section, i.e. full width 1250px.

    how large is your browser window?

    Thread Starter Cotton77

    (@cotton77)

    1280×800.

    The menu bar spans the full width of the browser, but I can’t seem to get the picture. I’m getting small margins on either side.

    Interestingly if I use the following code:

    .col-full{
        margin-left: 0px;
        margin-right: 0px;}

    The picture shifts to the left to the edge of the browser, but doubles the thickness of the margin on the right.

    Anything else I can try?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot get rid of margins’ is closed to new replies.