Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Apr 2015
    Posts
    1
    Member #
    49317

    How To Remove a Slider from Responsive Design

    Hi there,

    I'm a small business owner that has (up until now) managed a successful website.

    However, with the pending Google Mobilegeddon, my website for some reason does not pass the Google Mobile Friendly test (https://www.google.com/webmasters/to...bile-friendly/). I believe this is due to the slider as when I disable the slider plugin and remove it. The website passes it.

    The website is built in WordPress using Catalyst/Dynamik as the child theme. The plugin I use for the slider is Soliloquy. I have tried so many different sliders that at this point I would like to just take out the slider for the responsive/mobile version only.

    I have this as the code in the responsive panel:

    #header-wrap {background:none !important;}
    .logo-image #header-wrap #header {width:100%;text-align:center;}
    .logo-image #header #header-left {width:200px;background:url('images/air-conditioning-brisbane.png') no-repeat scroll center top transparent;margin:0 auto !important;}
    .logo-image #header-left, .logo-image #header-left #title, .logo-image #header-left #title a {width:200px;}
    #callus {margin-top:5px;margin-bottom:5px;}
    .slider-wrapper,#soliloquy {display:none;}


    I think it has something to do with the last line.

    Can I please request any assistance to help remove the slider from the mobile/responsive version.

    Your help is greatly appreciated.

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    It probably isn't your slider. The link you posted above doesn't work, but usually it's one of two things:

    1) You're missing the meta viewport tag.

    https://developers.google.com/speed/...figureViewport

    2) You haven't designed a narrow layout for cell phones, tablets, etc. as a whole.

    What is your site?
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Banned
    Join Date
    Mar 2015
    Posts
    21
    Member #
    48461
    I'm not very good at this position. I think google can find what you need

  5. #4
    Junior Member
    Join Date
    Apr 2015
    Posts
    11
    Member #
    49327
    Liked
    1 times
    In order to hide only on mobile you have to use @media in css
    Example: @media screen and (max-width: 300px)

  6. #5
    Banned
    Join Date
    Feb 2015
    Posts
    100
    Member #
    42499
    Liked
    4 times
    What mobile size would you want to remove the slider on? Generally laptops: 1280px tablet landscape: 1024px, tablet portrait: 768px, mobile landscape: 480px, mobile portrait: 320px

    I'll just assume a display below 480px would remove the slider so add this to your css:

    @media only screen and (max-width: 480px) {
    .slider-wrapper, #soliloquy {display:none;}
    }


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:27 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com