poem
Forum Replies Created
-
Forum: Plugins
In reply to: How can I create flexible slider header images? [Promotion Slider YOKO]It worked when I added the {height: auto} to img at the same time.
4px issue is still remaining though my main problem resolved. Thank you so much.
Forum: Plugins
In reply to: How can I create flexible slider header images? [Promotion Slider YOKO]Nothing changed. It has overwritten the height but images still keep the height…
And I found div.promo_slider has the height 354px when define height auto or 100% to it. What could have caused this 4px?
Forum: Plugins
In reply to: How can I create flexible slider header images? [Promotion Slider YOKO]Hi Micah,
I appreciate your answer to my question in a row. I tried to fix it like you said but undone. 1: I deleted the definition “width=1102px, hight=350px” on the shortcode, 2: Adding div.promo_slider img { max-width: 100%; } to style.css.
1 caused the default style{height: 235px;} appeared and cut off the images. So I added the style{height:350px} to div.promo_slider img on style.css. Actually, it worked as far as the width but images keeps the height. In orher words, the aspect ratio is wrong when flex the browser.
How can I fix them?
It worked! Thanks so much Micah!