Want more timely Centmin Mod News Updates?
Become a Member

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

    4,962
    1,183
    113
    May 25, 2014
    Ratings:
    +1,797
    Local Time:
    8:28 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

    44,750
    10,205
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,816
    Local Time:
    10:28 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    44,750
    10,205
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,816
    Local Time:
    10:28 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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 Premium Member Premium Member

    650
    188
    43
    May 25, 2014
    Ratings:
    +263
    Local Time:
    7:28 AM
    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:
    5:28 AM
    1.7.5
    5.x.x
    How you uninstall pagespeed completely??
     
  6. eva2000

    eva2000 Administrator Staff Member

    44,750
    10,205
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,816
    Local Time:
    10:28 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x