WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove image borders-zillapress theme (3 posts)

  1. peter88888
    Member
    Posted 1 year ago #

    hey guys,

    hope some can help me as i am getting no help whatsoever from the developers of this theme.

    I'm trying to get rid of the image borders when an image is posted in a post....this is how it looks on the demo site

    http://www.awesem.com/zillapress/

    you should see the angelia jolie image with borders, this is what i'm trying to get rid off. I've read most of the posts here about changing the padding x etc but no luck....

    Ive posted the snippets from the style.css of the theme here regarding images, can anyone pls help me? as it's driving me nuts.

    [No need to post CSS here - it's all visible on your site]

  2. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    Have you tried adding;

    .post-thumb-single img {
     border: 0;
     -moz-box-shadow: none;
     -webkit-box-shadow: none;
     box-shadow: none;
    }
  3. peter88888
    Member
    Posted 1 year ago #

    hi andrew,

    thanks for the help however it didnt work, however this did....

    this is the original...

    /* -- 9.0 Default Links -- */
    a { text-decoration: none; color: #3399cc; }
    #primary a { border-bottom: 1px solid #e4e4e4; }
    #primary a:hover { border-bottom: 1px solid #d4d4d4; color: #1c506a; }
    #sidebar a { color: #444; }
    #sidebar a:hover { color: #3399cc; }
    a img { border: none; }

    i then change this all to { border: none; }

    /* -- 9.0 Default Links -- */
    a { text-decoration: none; color: #3399cc; }
    #primary a { border: none; }
    #primary a:hover { border: none; }
    #sidebar a { color: #444; }
    #sidebar a:hover { color: #3399cc; }
    a img { border: none; }

    my question is what code is this? though it has take the borders away, i'm worried it may affect something else? or is it ok?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags