New Landing How can we help? Themeforest Theme Support Supreme Removing Site wide advert and footer from mobile version

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Supreme
  • #16880
    [email protected]
    Member
    Post count: 5

    Hello,

    Having a sitewide-advert and an advertisement in the footer is totally breaking the theme’s ability to properly respond to the phone’s screen size.

    How do I either remove these areas from the smaller screen size(s), or even better how do I replace them with something else?

    See metrojolt.com

    Thank you for your time,
    Ben

    #16899
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi Ben,

    Google Adsense ads are not responsive, it’s Google’s choice; so it’s not an issue with the theme having adverts in both places at the same time, if that’s what you meant.

    Now, to hide them on mobile, you could do something like:

    @media screen and (max-width:768px) {
      #sitewide-ad, .widget_adrotate_widgets { display: none !important; }
    }

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #17201
    [email protected]
    Member
    Post count: 5

    Thank you for your response.

    I have pasted that in my custom CSS and it does not appear to be taking any affect. I have cleared cache.

    Also, is there a similar code I could use to remove the footer on small screens? I have the same ad size issue there as well.

    Thank you for your time! Much appreciated.

    #17326
    Cosmin – SUPPORT
    Member
    Post count: 3851

    I see the code working perfectly fine – note that it will not take effect if using a screen size larger than 768px (you can simply change that in that code).

    For hiding the footer as well, you can change my code above, to this:

    @media screen and (max-width:768px) {
      #sitewide-ad, .widget_adrotate_widgets, #footer { display: none !important; }
    }

    Regards,
    ————————————————————————————————————

    Cosmin – Support

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register