remove margins

  • Posted in : Bloggy WP
  • ldiano
    Participant

    Thank you for your fast responses and support over the past year.

    I would like to reduce the margins to ‘0’ for a particular page only. Our intention is to remove the white space and have our image stretch from side to side. We also want to maintain the responsive theme design and hope we can do that.

    Again, thank you for your response and advice.

    ahmetsali
    Keymaster

    Hi, which image? please provide url or screenshot.

    ldiano
    Participant
    ahmetsali
    Keymaster

    you have an empty paragraph in your page content, first remove it and use this custom css code;

    .page-id-8950 .middle .row {
        max-width: none;
    }
    .page-id-8950 .hentry {
        padding-top: 0;
    }
    .page-id-8950 #comments {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    ldiano
    Participant

    It works.

    http://thepowerinsport.com/footie-project/fp-landing2/

    Can you give us something to remove that white space at the top of the image?

    Also scrolling down the ‘social shares’ are pushed to the left with no margin. Any suggestions on how to give them a bit of a margin?
    We can fix the fb comments ourselves.

    THANK YOU!

    ahmetsali
    Keymaster

    Hi again,

    1-) you have a redundant p element that causes the top white space, you have to remove that element.

    2-) This is not easy to do with custom css code because the wrapping element doesn’t have a class.

    ldiano
    Participant

    Got it.

    We will include a negative margin size to reduce the top margin

    Thanks very much.

Viewing 7 posts - 1 through 7 (of 7 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