Change header ad location on mobile

Posted in: Newspaper
Post count: 26

I am using header style 1

I would like to put the header ad below the menu and not above the menu

How can I change this ?

Post count: 7909

Hi,

You can use Header style 4, but this will place the header ad bellow the menu also on desktop view, but I think that you know that already.

If you don’t want that you can try some custom modifications, so if you think that you don’t use header style 3 you can edit like this: http://screencast.com/t/lkgEkz1PaIhttp://screencast.com/t/j1vA42wVUx7
custom_ad_1
Make this change in header.php: http://screencast.com/t/3Ok7opMJBIZ
Disable header ad on mobile view: http://screencast.com/t/6vl70FnD8
Paste your ad code in Custom Ad 1 and enable it for mobile: http://screencast.com/t/X7sRpdrLrW9c
Result:
Desktop view: http://screencast.com/t/9ivDNcpghz
Mobile view: http://screencast.com/t/39Z68Lz8

Thanks!

Post count: 26

I saw your screenshot from the mobile view and I really don’t like it.
I want it to look exactly as the mobile view of ‘header style 4’ and as you can see it’s not the same.

Post count: 7909

Hi,

I think that was a problem with my ad, please take a look at this screenshot with default banner: http://screencast.com/t/xeycljZxJNw9

You can make a backup of that files and try it if like that.

Thanks!

Post count: 26

I followed your instructions exactly as you told me to do and it’s not working for me.
To be honest I don’t like this customization I think there are lots of modifications which are unnecessary. I just want to place my ad below the menu instead of above the menu on mobile view only, it should not be that complicated.
Also if you will look at your screenshot, on mobile view you have a huge space between the ad and the content and the ad is not 100% width.

Post count: 26

If you believe this is the easiest way to do it, it’s okay.
I succeed getting it working, but I must get rid of this annoying space.
I have this space on desktop & mobile.

Post count: 7909

Hi,


@idansx
This is not as simple like it looks. It cannot be done if you are using Style 1 only with css.
Please provide your site URL after you are done with that custom modifications and I’ll inspect this and try to provide you a css code for space that you are talking about.

Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.