![]() |
Forum Only conditional
I currently have banners running above subfurms. I am scaling images by using auto height and width="80%". The problem is that they stretch to wide on larger screens and look bad.
I would like to have the subforum ads display as width="80%" on forum home above the subforum but everywhere else display as width="728px". I figured I could accomplish this with conditionals but I am not sure. So I need a conditional with an else statement that will display the % image on forum home and the "px" image everywhere else. Is this possible? BTW - I know I can do this with max-width but I think 2 images would be better. Thoughts? --------------- Added [DATE]1574443249[/DATE] at [TIME]1574443249[/TIME] --------------- #I figured out an easy way. I was way overthinking this. width="100%" style="max-width:728px; height:auto; max-height:90px; |
All times are GMT. The time now is 01:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|