badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Remove Mobile Versoin from CSS

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23415
    MeShawn
    Participant

    Hi there,

    My client does not want the mobile version to show when loading on mobile devices and tablets (he prefers the overall desktop view as the only option), is there any way to remove this within the CSS or set the media limits higher?

    Thanks.

    #23422

    Hi MeShawn,

    There is only a way to do it. You have to remove all the media queries from CSS from style.css to remove mobile version. But each and every time you update to our theme the same things you need to do.

    Thank you!

    #23460
    MeShawn
    Participant

    ok will do – can you let me know which specific lines will enable it to show exactly like the desktop version? when I do that it seems to still show responsiveness and the page still doesnt fit in the phone browser.

    thanks

    #23474

    Hi MeShawn,

    Remove from style.css. Go to line no 1953 you will see this `/* =Responsive Structure
    ———————————————– */
    /* All Tablet Portrait size smaller than standard 1024 (devices and browsers) */`

    Remove all css below from line no 1953.

    After doing this go to themefolder(cleanretina-pro)-> library-> structure-> header-extension.php on line no 21 and replace this code<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> with below code
    <meta name="viewport" content="width=1078" />

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.