Support » Fixing WordPress » Remove image borders-zillapress theme

  • Resolved peter88888

    (@peter88888)


    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]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you tried adding;

    .post-thumb-single img {
     border: 0;
     -moz-box-shadow: none;
     -webkit-box-shadow: none;
     box-shadow: none;
    }

    Thread Starter peter88888

    (@peter88888)

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove image borders-zillapress theme’ is closed to new replies.