materializer
materializer copied to clipboard
card width going too wide
I am having an issue where I have an image card that is going too wide. The image is just 160px wide but the card goes the whole width of the post div. I tried a width attribute but that didn't work. Any ideas?
Hey @cckid, thanks for the report.
I can't think of anything off the top of my head, but let me look into it. It's gotta be some sizing with the image itself. Would you mind just sending over the basic short-code you're using so I can investigate?
Hi Cody, Thanks for the quick reply! The shortcode was just copied and adjusted, it's as such: [card_img img="http://ecx.images-amazon.com/images/I/517aTTC-7pL.SL160.jpg "] Aeropress Coffee and Espresso Maker, the perfect coffee gift. $29.99 [link text="blue" to=" http://www.amazon.com/Aeropress-Coffee-and-Espresso-Maker/dp/tech-data/B0047BIWSK%3FSubscriptionId%3DAKIAJGR3KLZ7N6GENDFQ%26tag%3Dgiftideas0a1-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB0047BIWSK"]Buy on Amazon[/link] [/card_img]
Thanks for the plugin, it's great!
On Tue, Dec 1, 2015 at 12:31 PM, Cody Reichert [email protected] wrote:
Hey @cckid https://github.com/cckid, thanks for the report.
I can't think of anything off the top of my head, but let me look into it. It's gotta be some sizing with the image itself. Would you mind just sending over the basic short-code you're using so I can investigate?
— Reply to this email directly or view it on GitHub https://github.com/CodyReichert/materializer/issues/4#issuecomment-161041067 .
Same issue. I see some CSS: card.small card.medium card.large but don't see where it gets ref