Osclass forums

Support forums => General help => Topic started by: moinuddin on July 03, 2019, 11:58:04 am

Title: Mobile ad jenner not displayed in bender theme
Post by: moinuddin on July 03, 2019, 11:58:04 am
Hi,

I went to theme settings from admin and entered the html codes for ad banner ..but its not displayed on mobile and only displayed on desktop.should i change the size of banner?.can anyone help?

Thanks in advance .

Title: Re: Mobile ad jenner not displayed in bender theme
Post by: gnolino on July 11, 2019, 06:13:20 pm
I don t know bender theme but I think you have to modify css file
May be css hide element to small devices.
In this case you must use media queries.
Regards

Title: Re: Mobile ad jenner not displayed in bender theme
Post by: BritWeb on July 11, 2019, 08:38:48 pm
Hi,

I went to theme settings from admin and entered the html codes for ad banner ..but its not displayed on mobile and only displayed on desktop.should i change the size of banner?.can anyone help?

Thanks in advance .
Let me see the code you are using and the location on your site the banner has to be placed. I will give it a go and get back to you.

Regards
Title: Re: Mobile ad jenner not displayed in bender theme
Post by: WEBmods on July 11, 2019, 10:52:24 pm
Taking a quick look at Bender CSS, I saw this rules:

Code: [Select]
@media only screen and (max-width: 740px) {
    #header .ads_header, .ads_300, .ads_728, .ads_468 {
        display: none;
    }
}

You need to change display: none; to display: block;.

Regards.