+ Reply to Thread
Results 1 to 3 of 3

Thread: ModPageSpeed breaks my button CSS, hide on desktop

  1. #1

    ModPageSpeed breaks my button CSS, hide on desktop

    So I created a content box with a button that will only show on mobile devices.
    The problem is that it will show on both Desktop and Mobile if I use ModPageSpeed.

    When I disable ModPageSpeed the button only show up on Mobile devices and works as it should.

    Code:
    Only registered members can view the code.
    Code:
    Only registered members can view the code.
    Anyone have any idea why this is happening and how to solve this?

  2. #2
    I don't use mod page speed but a quick look at some issues points to caching. Maybe it cached your site before the display none was added for desktop. so now it shows you it in both mobile and desktop. But by tuning it off it works correctly.

    That's just a thought, maybe way off .

    But on my end viewing your site it seems to work correctly at the moment
    New Site: CameraSpecs https://bit.ly/3G4uYA6

    Old Site: MotorAdsUk

  3. #3
    I did fix it, it was a caching issue. After a purge it worked perfect
    Classifieds Site: Annonssida
    Other Site: SEO

+ Reply to Thread