1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Responsive Notice Images

Discussion in 'Styling and Customization Questions' started by taylor_smith, Feb 27, 2014.

  1. taylor_smith

    taylor_smith Well-Known Member

    We use a lot of images in our notices, but they aren't currently responsive.

    I can add:

    <img src="link" style='width:100%;'border="0"alt="Null">
    Problem is, this blows my images up to huge proportion. How would I set a max image size, but keep it responsive otherwise?
  2. vishall

    vishall Active Member

    try this

    <p><a href="http://your-link.com/" target="_blank"><img src="http://your-image.com" style='width:100%;' border="0" alt="Null"></a></p>
  3. taylor_smith

    taylor_smith Well-Known Member

    This does make it responsive, but it becomes friggen huge. I need a way to limit the maximum, but allow responsive if it gets smaller. :)
  4. Russ

    Russ Well-Known Member

    Can you give an example of a notice at full width?
  5. taylor_smith

    taylor_smith Well-Known Member

Share This Page