Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #66911
    Michaela
    Participant

    Hi Sakin,

    currently, all my pictures that I add to a post have a thin, gray border around it and the caption is shown in italics. I’d like to remove the border and change the style of the caption (non italic, different color). How do I do that? I can’t find the right CSS code in the master stylesheet.

    Thanks a lot,
    Michaela

    #66921
    Sakin
    Keymaster

    @Michaela: You can add the following css in “Appearance => Theme Options => Custom CSS” box:

    .wp-caption {
        border: none;
    }
    .wp-caption .wp-caption-text, 
    .gallery-caption, .entry-caption {
        font-style: normal;
    }
    #67229
    Michaela
    Participant

    Hi Sakin,
    thanks a lot, that worked. I also added this code to make the picture stretch over the whole width of the post:

    .wp-caption img {
    max-width: 100%;
    }

    Cheers,
    Michaela

    #67285
    Sakin
    Keymaster

    @Michaela: That’s great. Thanks 🙂

    #84495
    John
    Participant

    Sakin, I just tried this code to remove the borders on my posts as well, but it did not work.

    http://www.fake-it.ca/fish-id-cards-2/

    Thanks.

    #84561
    Sakin
    Keymaster

    @spyglass9er: Hi John,

    The above css is for Catch Kathmandu theme and you are using Simple Catch Pro theme.
    For your site, you can add the following css in “Appearance => Theme Options => Custom CSS” box:

    img[class*="align"], 
    img[class*="wp-image-"] {
        border: none;
        max-width: 100%;
        padding: 0;
    }

    Note: from next time, please post in right support forum. For simple catch pro theme, you need to post it in http://catchthemes.com/support-forum/forum/simple-catch-pro-premium/

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Image style’ is closed to new replies.