• Resolved khalilbeat

    (@khalilbeat)


    Hello team,

    Thank you for your amazing plugin.

    Is there anyway to minify css for the specific mobile page ?

    I see that when i minify css using third party plugins, they optimise time loading desktop css, but not mobile one.

    Thank you

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jose Mortellaro

    (@giuse)

    HI @khalilbeat

    thank you very much!
    This plugin is only to give the possibility to replace content for mobile devices, nothing else.

    I think CSS should be always and in any case minified, not only for the mobile pages.
    I mean always minfied, not always minified and combined.

    If you think that some stylesheets are not needed in the mobile version of some pages, you can delete them completely by deactivating the plugin that introduces them.

    If you want you can install Freesoul Deactivate Plugins, https://ww.wp.xz.cn/plugins/freesoul-deactivate-plugins/

    Together with Specific Content For Mobile, it gives you the possibility to disable specific plugins on specific pages for the mobile version.

    Thread Starter khalilbeat

    (@khalilbeat)

    Thank you for the fast answer.

    I have a other issue please.

    I’m using wp super cache.

    When I delete cache I see correctly the specific mobile page, but few minutes later, when I refresh the home page I just see the original one…

    I tried to add this list to rejected used agents but it doesn’t work:

    bot
    ia_archive
    slurp
    crawl
    spider
    Yandex
    iPhone
    iPod
    Android
    BB10
    BlackBerry
    webOS
    IEMobile/7.0
    IEMobile/9.0
    IEMobile/10.0
    MSIE 10.0
    iPad
    PlayBook
    Xoom
    P160U
    SCH-I800
    Nexus 7
    Touch

    Can help me solve this ?

    Thanks

    Plugin Author Jose Mortellaro

    (@giuse)

    try adding this:

    Mobile

    The user agent above should be enough, but if you want to be sure, you can add all this:

    Android
    Silk/
    Kindle
    BlackBerry
    Opera Mini
    Opera Mobi
    a1-32ab0
    a210
    a211
    b6000-h
    b8000-h
    bnrv200
    bntv400
    darwin
    gt-n8005
    gt-p3105
    gt-p6810
    gt-p7510
    hmj37
    hp-tablet
    hp\sslate
    hp\sslatebook
    ht7s3
    ideatab_a1107
    ideataba2109a
    ideos\ss7
    imm76d
    ipad
    k00f
    kfjwi
    kfot
    kftt
    kindle
    l-06c
    lg-f200k
    lg-f200l
    lg-f200s
    m470bsa
    m470bse
    maxwell
    me173x
    mediapad
    midc497
    msi\senjoy\s10\splus
    mz601
    mz616
    nexus
    nookcolor
    pg09410
    pg41200
    pmp5570c
    pmp5588c
    pocketbook
    qmv7a
    sgp311
    sgpt12
    shv-e230k
    shw-m305w
    shw-m380w
    sm-p605
    smarttab
    sonysgp321
    sph-p500
    surfpad
    tab07-200
    tab10-201
    tab465euk
    tab474
    tablet
    tegranote
    tf700t
    thinkpad
    viewpad
    voltaire
    (android|bb\d+|meego).+mobile
    2.0\ mmp
    240×320
    \bppc\b
    acer\ s100
    alcatel
    amoi
    archos5
    asus
    au-mic
    audiovox
    avantgo
    bada
    benq
    bird
    blackberry
    blazer
    cdm
    cellphone
    cupcake
    danger
    ddipocket
    docomo
    docomo\ ht-03a
    dopod
    dream
    elaine/3.0
    ericsson
    eudoraweb
    fly
    froyo
    googlebot-mobile
    haier
    hiptop
    hp.ipaq
    htc
    htc\ hero
    htc\ magic
    htc_dream
    htc_magic
    huawei
    i-mobile
    iemobile
    iemobile/7
    iemobile/7.0
    iemobile/9
    incognito
    iphone
    ipod
    j-phone
    kddi
    konka
    kwc
    kyocera/wx310k
    lenovo
    lg
    lg-gw620
    lg/u990
    lge\ vx
    liquid\ build
    maemo
    midp
    midp-2.0
    mmef20
    mmp
    mobilephone
    mot-mb200
    mot-mb300
    mot-v
    motorola
    msie\ 10.0
    netfront
    newgen
    newt
    nexus\ 7
    nexus\ one
    nintendo\ ds
    nintendo\ wii
    nitro
    nokia
    novarra
    openweb
    opera.mobi
    opera\ mini
    opera\ mobi
    p160u
    palm
    panasonic
    pantech
    pdxgw
    pg
    philips
    phone
    playbook
    playstation\ portable
    portalmmm
    proxinet
    psp
    qtek
    s8000
    sagem
    samsung
    samsung-s8000
    sanyo
    sch
    sch-i800
    sec
    sendo
    series60.*webkit
    series60/5.0
    sgh
    sharp
    sharp-tq-gx10
    small
    smartphone
    softbank
    sonyericsson
    sonyericssone10
    sonyericssonu20
    sonyericssonx10
    sph
    symbian
    symbian\ os
    symbianos
    t-mobile\ mytouch\ 3g
    t-mobile\ opal
    tattoo
    toshiba
    touch
    treo
    ts21i-10
    up.browser
    up.link
    uts
    vertu
    vodafone
    wap
    webmate
    webos
    willcome
    windows.ce
    windows\ ce
    winwap
    xda
    xoom
    zte

    Thread Starter khalilbeat

    (@khalilbeat)

    Thank, it’s working now.

    The real problem was that ‘mobile Device support was not checked’

    Have a good day 🙂

    Plugin Author Jose Mortellaro

    (@giuse)

    Perfect! You are welcome!

    I’m going to close this thread. If you find any issues don’t hesitate to open a new thread.

    Have a nice day too!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘CSS minifying for mobile page’ is closed to new replies.