Good morning,
I inherited a forum which I am now modernizing which includes a banner of sponsors of the forum.
At the moment, the 3x3 banner matrix is display in the simplest of ways via the advertising function as follow:
Now I am wondering: what would be the easiest way to make this responsive?
I know that there are add-ons out there, but I want to avoid addons as much as possible. Basically, my idea would be to use the media size directives to scale the image-widths accordingly.
I thought about templates but this seems overly complex. I could also create custom CSS for this but this seems to be redundant and a potential root cause for maintenance errors.
So I am wondering, what would be the easiest, cleanest and simplest way to achieve this?
Thank you
Andreas
I inherited a forum which I am now modernizing which includes a banner of sponsors of the forum.
At the moment, the 3x3 banner matrix is display in the simplest of ways via the advertising function as follow:
Code:<div class="forenpartner"> <a href="https://www.xyz.com"> <img src="/community/data/assets/forenpartner/xyz.jpg" width="300px"> </a> <a href="https://www.xyz.com"> <img src="/community/data/assets/forenpartner/xyz.jpg" width="300px"> </a> <a href="https://www.xyz.com"> <img src="/community/data/assets/forenpartner/xyz.jpg" width="300px"> </a> <br> <a href="https://www.xyz.com"> <img src="/community/data/assets/forenpartner/xyz.jpg" width="300px"> </a> <a href="https://www.xyz.com"> <img src="/community/data/assets/forenpartner/xyz.jpg" width="300px"> </a> <a href="https://www.xyz.com"> <img src="/community/data/assets/forenpartner/xyz.jpg" width="300px"> </a> <br> <a href="https://www.xyz.com"> <img src="/community/data/assets/forenpartner/xyz.jpg" width="300px"> </a> <a href="https://www.xyz.com"> <img src="/community/data/assets/forenpartner/xyz.jpg" width="300px"> </a> <a href="https://www.xyz.com"> <img src="/community/data/assets/forenpartner/xyz.jpg" width="300px"> </a> </div>
Now I am wondering: what would be the easiest way to make this responsive?
I know that there are add-ons out there, but I want to avoid addons as much as possible. Basically, my idea would be to use the media size directives to scale the image-widths accordingly.
I thought about templates but this seems overly complex. I could also create custom CSS for this but this seems to be redundant and a potential root cause for maintenance errors.
So I am wondering, what would be the easiest, cleanest and simplest way to achieve this?
Thank you
Andreas