WordPress.org

Forums

Waving Portfolio
[resolved] Grid images all different sizes (2 posts)

  1. czeller
    Member
    Posted 11 months ago #

    I've specified a width, but I'm still getting large images in main portfolio page.

    Here's my shortcode:
    [waving width="200" theme="light" all="true" showCat="true" /]

    But here is what shows on my page:
    http://northforkcreative.org/test-portfolio/

    https://wordpress.org/plugins/waving-portfolio/

  2. aelbuni
    Member
    Plugin Author

    Posted 11 months ago #

    Hello czeller,

    I have take a look at your website, and the problem found, that your style.css is overriding the image width and height on line number (243):

    img {
    max-width: 100%;
    height: auto;
    width: auto;
    }

    If you remove the auto lines, your plugin should work perfectly.

    And unfortunately it is a bad practice to strict the style of a general HTML tag like (img), rather than this your theme should give a specific class style only for those images who need to get (auto) width and height.

    I hope this will help.

    Thanks for asking ^_^

Reply

You must log in to post.

About this Plugin

  • Waving Portfolio
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic