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

XF 1.5 Responsive png file?

Spleen

Active member
#1
I've added a png file with an embedded url link to 'ad thread view below messages' and it shows just fine however it's not responsive. Any ideas on how I can fix it? Thanks!

Screen Shot 2016-03-26 at 18.39.38.png
 

Brogan

XenForo moderator
Staff member
#4
Something like this:
Code:
<div style="max-width: 100%">
    Code here
</div>
Ideally I would need to see it in place to see what it's doing.
 

Brogan

XenForo moderator
Staff member
#10
This will probably work:
Code:
<a href="http://cotswoldgroup.com">
    <img style="max-width: 100%" src="styles/styles/social/xenforo/Cotswold%20BMW%20copy.png">
</a>