Photo borders/margins

  • Author
    Posts
  • #77421

    Hi,

    Can someone give me some advice about removing the white border from the photo on my home page. The site I need help with is http://maighreadsimpson.com/?preview=true&preview_id=50&preview_nonce=c49ea6a057

    Thanks

    The blog I need help with is: (visible only to logged in users)

    #77605
    rezzap
    Staff

    Hello,

    To remove the border from your home page only you would need to add the following CSS in the Custom CSS add-on:

    .home .container {
        background: none;
        box-shadow: none;
           -moz-box-shadow: none;
           -webkit-box-shadow: none;
    }

    Let me know if you run into any issues with that.

    Thank you,

    Rebecca

    #77610
    maighreadtownsend
    Member
    Original poster

    Thanks Rebecca. It worked a treat! Would it be something similar to remove the border from a gallery page e.g. http://maighreadsimpson.com/people-2/

    #77613
    rezzap
    Staff

    Hello!

    If you remove the ‘.home’ it will remove this on every page on your site. If you wanted to target only the gallery page you would add the following:

    .page-id-33 .container {
        background: none;
        box-shadow: none;
           -moz-box-shadow: none;
           -webkit-box-shadow: none;
    }

    Thanks!

    Rebecca

  • The topic ‘Photo borders/margins’ is closed to new replies.