Welcome to Centmin Mod Community
Register Now

Nginx PageSpeed ngx_pagespeed advertising conflicts ?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by eva2000, Jun 2, 2014.

  1. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    12:02 PM
    Mainline
    10.2
    Yes it is, but just using 3 different sizes (width) but smart sizing automatically use all space available.

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,087
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    2:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    I believe you can add more custom sizes to advanced code ?

    But those 3 min-widths cover all devices really unless you want the large 970x90 ads

    HTML:
    <div style="padding-top:10px;width:"85%";">
    <style>
    .cmres1 { width: 320px; height: 50px; }
    @media(min-width: 500px) { .cmres1 { width: 468px; height: 60px; } }
    @media(min-width: 800px) { .cmres1 { width: 728px; height: 90px; } }
    </style>
    <!-- cmres1 -->
    <ins class="adsbygoogle cmres1"
        style="display:inline-block"
        data-ad-client="ca-pub-6669518204467592"
        data-ad-slot="2827005149"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    </div>
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,087
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    2:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    might try adding something like

    HTML:
    @media(min-width: 1250px) { .cmres1 { width: 970px; height: 90px; } }
    edit: yup working on the forums :)
     
    Last edited: Jun 10, 2014
  4. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    10:02 PM
    I haven't had a chance to try it but will soon.
     
  5. Talia Olga

    Talia Olga Member

    40
    0
    6
    Sep 28, 2014
    Ratings:
    +0
    Local Time:
    8:02 PM
    1.7.5
    5.x.x
    How you uninstall pagespeed completely??
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,087
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    2:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+