Advertisement:

Author Topic: SOLVED > Bender Theme Mobile Devices View Problem / Adsense Ads  (Read 2353 times)

tito

  • issues
  • Sr. Member
  • *
  • Posts: 397
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #15 on: October 08, 2017, 11:33:05 pm »
And ad this in your css?

width:100%
text-align:center;
overflow:hidden;

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #16 on: October 08, 2017, 11:37:29 pm »
Where exactly I must put it for which class? Bender THEME css file is very mixed coded and not easy to understand.

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #17 on: October 08, 2017, 11:41:35 pm »
My theme is BENDER theme,
not Osclasswizards theme, Wizards theme is already good designed voor mobile devices and no extra modification need for mobile devices.

Problem is for BENDER themes

Sorry. I don't know why I remembered you use osclasswizards. My bad.

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #18 on: October 08, 2017, 11:50:20 pm »
This problem is occuring in bender themes , not osclasswizards

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #19 on: October 08, 2017, 11:54:43 pm »
In main.css you will find:

Code: [Select]
.ads_728{width:728px;min-height:90px}
and under
@media only screen and (max-width: 740px) {
..

    #header .ads_header,
    .ads_300,
    .ads_728,
    .ads_468 {
        display: none
    }

I gues you replaced display : none with something else, because otherwise it won't be visible in phone view.

EDIT.
As a solution you could try to replace display: none; with
Code: [Select]
width:100%;min-height:10px;
« Last Edit: October 09, 2017, 12:05:17 am by marius-ciclistu »

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #20 on: October 08, 2017, 11:58:41 pm »
Yes ,  " display : none "  I have removed " none " only...Because in mobile devices adsense was not showing

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #21 on: October 09, 2017, 12:00:24 am »
I edited my above post with the solution.

It would be best to menion your modifications from now on when you ask something:).

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #22 on: October 09, 2017, 12:12:39 am »
width:100%; min-height:10px;
I added your recommended code above,
It is not affected, still same

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #23 on: October 09, 2017, 12:15:26 am »
CTRL+F5 in browser to refresh

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #24 on: October 09, 2017, 12:19:26 am »
I have done several time,
Here secreenshoot,
al 728 ads unit shown as wide and overflowing secreen of mobile devices

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #25 on: October 09, 2017, 12:28:29 am »
When you inspect the code with f12 in browser you can see:
Code: [Select]
@media only screen and (max-width: 740px)
    #header .ads_header, .ads_300, .ads_728, .ads_468 {
        width:100%;
        min-height:10px;
    }

?

If yes, try       
Code: [Select]
width:100% !important;

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #26 on: October 12, 2017, 12:56:49 pm »
Hello marius-ciclistu,
I deleted cache and noticed that your given code solved secreen problem on BENDER THEMES,
I added : width:100% !important;}
modification main. css file as below ;
#header .ads_header,.ads_300,.ads_728,.ads_468{width:100% !important;}}@media only screen and (max-width: 640px)

and solved.
Thank you

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #27 on: October 12, 2017, 02:02:42 pm »
You can add SOLVED in the title of your first post in this topic.
I'm glad you solved it.

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #28 on: October 12, 2017, 02:24:43 pm »
How to do it?
Solved!

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Bender Theme Mobile Devices View Problem / Adsense Ads
« Reply #29 on: October 12, 2017, 02:42:54 pm »
No.
you go here https://forums.osclass.org/bender/bender-theme-mobile-devices-view-problem-adsense-ads/msg156648/#msg156648
and you modify  your first message's title by adding SOLVED at it's begining.