Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter lifestobelived

    (@lifestobelived)

    Really like some help with this one so I can promote my site more…

    Theme Author Rajeeb Banstola

    (@rajeebthegreat)

    Hello lifestobelived,

    I was going to reply to this thread but that just slipped out of my mind. I looked the site from my mobile phone. It appears that it’s the issue with Adsense ad code. Try to use responsive AdSense ad and check your site on mobile. I believe your issue will be solved.

    Thanks for using Techism theme!

    Thread Starter lifestobelived

    (@lifestobelived)

    Hi Rajeeb, thanks for responding.. Ok I checked out responsive adsense, created one and cut out the code and put it in the header.php and the only change seems to be that instead of on the website when previously viewed on a computer the ad used to just be within the central column, it now spreads across the width of the screen, while when viewed on a mobile screen the ad still stretches further across the screen than the rest of what is displayed…

    I might try to contact adsense to see if they can give any guidance but if you have any suggestions I would like to hear them…

    Thread Starter lifestobelived

    (@lifestobelived)

    This seems to be how the responsive ad unit works out what to display…

    https://support.google.com/adsense/answer/3213689?hl=en&ref_topic=1307438&vid=1-635765437939411299-2230779045

    Automatic sizing based on the space available. To make your code simpler and save you time and effort, our responsive ad code automatically adapts the ad unit size to your page layout. We calculate the required size dynamically based on the width of the ad unit’s parent container, then determine what’s the best standard height to go with that width.

    For example, if you have a <div> with a width of 30% and you place our responsive ad code within the <div>, then depending on the width of the user’s screen, we’ll automatically serve different ad sizes. If your page is viewed on a tablet with a width of 1024px, we’ll serve a 307×250 ad, and if it’s viewed on a 21″ desktop PC with a 1680px width, we’ll serve a 504×60 ad.

    Thread Starter lifestobelived

    (@lifestobelived)

    Hmmm, ok this morning the front page now shows correctly, its when i click on any other link/menu option and it goes to a page that it stills hows the out of alignment…. Seems half fixed…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘My site doesn't show up properly on mobile phones’ is closed to new replies.