Banner/Div Height
-
Ruben,
I have some small issues with banners after install and was wondering if you could help.
I have place the code in the templates for page and posts:
<?php if ( function_exists( ‘useful_banner_manager_banners_rotation’ ) )
{ useful_banner_manager_banners_rotation( ‘1,2,3,4,5,6,7,8,9,10’, 8,
‘rand’ ); } ?>At first I specified width and height but noticed this caused problems on tablets and mobile so removed them, then made sure that the sizes were removed from each banner as well.
All went back to fitting correctly for each device but for some reason the div holding the banner is always set to 180 height, leaving a gap underneath.
This can be seen at the bottom of this page: https://winnerwinner.co.uk/casino/
The second issue is to do with the ‘rand’ operator, which does not seem to be working either. The banners actually seem to be showing in reverse ID order on every load, definitely not random.
Thanks for any help!
- The topic ‘Banner/Div Height’ is closed to new replies.