WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove white borders around images & change caption font colour in Gridspace (2 posts)

  1. Warlov
    Member
    Posted 5 months ago #

    Hello,

    I've been trying to sort this for two days and have scoured I think all forums with only partial luck. I hope someone can help me! I've never played around with CSS until Friday so it's been a bit of trial and error.

    I just purchased gridspace and have been busy tweaking it with many successes. The last (for now!) step is removing the white borders that show up all around my images whenever I write a caption for them. If I post an image without a caption, it does not have a border at all. Currently it looks like this:

    So, after much trial and error, I found that if I put the following code into themes-->customize--->theme options-->editor:


    .wp-caption {
    background-color: #000 !important;
    margin-bottom: 1.0em;
    }

    It will change the entire white padding/margin around the image to pure black, which is not perfect but I'll take it. There is still a thin white line around the image.

    If I add this code:

    .wp-caption {
    border:none;
    }

    That will then remove the white border line from around the left, right, and bottom of the picture, but not the top for some reason.

    That's as far as I've gotten...

    Many thanks in advance to who ever can help. :)

  2. esmi
    Forum Moderator
    Posted 5 months ago #

    I'm sorry but as you appear to be using a commercial theme, you need to seek support from the theme's developer/vendor. We do not support commercial products here.

Reply

You must log in to post.

About this Topic