WordPress.org

Forums

Sugar and Spice
[resolved] Scaled images (3 posts)

  1. thedailymel
    Member
    Posted 1 year ago #

    LOVE this theme! However, I seem to be having an issue with resized images. I'm linking to photos in my Coppermine album and using the Advanced Photo Settings in WordPress to scale them down. However, they aren't actually scaling down using the Sugar & Spice theme, but it works fine in other themes. As an example, in my latest post, I have the initial image scaled down to 240x240 in the code, but when I view my site, the original 400x400 image is showing instead. Here's the link to the sample post. Thanks!

  2. alex27
    Member
    Theme Author

    Posted 1 year ago #

    Hello!

    It seems there's a bug in style.css, line 152, where it says:

    .widget img, .page-content img, .entry-content img, .comment-content img{
        max-width:100%;
        height:auto;
        width: auto; /* IE 8 */
    }

    I need to remove the last line - width: auto
    You can either wait for next update to fix, or edit style.css yourself (this one is ok, since I'll be making this change in next update).

  3. thedailymel
    Member
    Posted 1 year ago #

    Thanks, that fixed it!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.