Remove margins

  • Posted in : Bloggy WP
  • ldiano
    Participant

    http://thepowerinsport.com/footie-project/fp-addmyname2-success/

    Hello again.

    We used this Custom CSS code.

    page-id-9063 .middle .row {
    max-width: none;
    }

    .page-id-9063 .hentry {
    padding-top: 0;
    }

    .page-id-9063 #comments {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    }

    But still this page is not displaying the background image side to side.

    Any ideas why not? Thank you for your help!

    ahmetsali
    Keymaster

    Hi, i just checked your page, and can’t see any background image.

    ldiano
    Participant

    I removed the image because it was a live page and could not keep it like for 5 days.

    Try it now.

    http://thepowerinsport.com/footie-project/fp-addmyname2-success/

    Thank you.

    ahmetsali
    Keymaster

    you can try this code for this page, and for other pages you want full width background image, you can use this code by just chancing page id number;

    .page-id-9063 .middle .row { max-width:none }
    .page-id-9063 .hentry{ padding-top:0 }
    .page-id-9063 .middle .row{ max-width:none !important;width:100%}
    
    ldiano
    Participant

    Yes it works thank you.

    The image is a 1600px image and should stretch across the page. Instead it’s small.

    Do you know why?

    As always, thank you for your help.

    http://thepowerinsport.com/footie-project/fp-addmyname2-success/

    ahmetsali
    Keymaster

    use background-size: 100%; and background-position: center;.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register