• Resolved AlgerieDeals

    (@algeriedeals)


    Hi,

    I set up AdSense on the header of my site (in header.php file, maybe not the best practise but I have a reason to do that) and by enabling Compress CSS, AdSense will not work on the header but does on other locations (sidebar widget for instance).

    Any idea how to fix that?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dipak C. Gajjar

    (@dipakcg)

    I just checked your site https://www.coindz.com/ and Google Adsense works in the header.

    This doesn’t look like a plugin specific issue so marking this thread as Resolved. If you still have any issues or wish to reopen this topic, simply respond below.

    Thread Starter AlgerieDeals

    (@algeriedeals)

    Hi,

    Sorry, this is because Compress CSS was disabled, I have just enabled it for the next 24 hours to let you check.

    Please check again If you don’t mind.

    Thank you

    Thread Starter AlgerieDeals

    (@algeriedeals)

    Hi,

    I think it’s definitely a plugin specific issue as I toggled on and off multiple times compress CSS and only when it’s on that AdSense disappears. Maybe there is a conflict with other plugins I use (Autoptimize and Page Speed Optimization)

    Thank you

    • This reply was modified 6 years, 10 months ago by AlgerieDeals.
    • This reply was modified 6 years, 10 months ago by AlgerieDeals.
    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    Using multiple plugins to do the same job isn’t wise.

    You might be right so I suggest keep either WP Super Minify or Autoptimize.

    Thread Starter AlgerieDeals

    (@algeriedeals)

    Ok no problem, I have not tried your plugin alone yet but I have never been in the green for mobiles before with google PageSpeed Insights. It seems to do some kind of magic, well done! I will content using Compress JavaScript only for now.

    Thank you

    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    Glad that it helped.

    I appreciate you leave 5-star review if the plugin really helped and did what it says.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘AdSense will not work on the header of my site’ is closed to new replies.