WordPress.org

Ready to get started?Download WordPress

Forums

Cnhk Slideshow
[resolved] slideshow problems with iPhone (6 posts)

  1. Zulu11
    Member
    Posted 10 months ago #

    Firstly awesome plugin! It works fine on a desktop but when I view it on an iPhone it appears to create a lot of space below the slider, if the device is turned horizontal it then corrects itself. I have used both the shortcode method as well as inserting into the header.php. Is there something I have done wrong? Thanks

    http://wordpress.org/plugins/cnhk-slideshow/

  2. Rija Rajaonah
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    Thank you for using/trying the plugin.

    No, it seems you've done everything right. But unfortunately I don't have any iOS device (and have not found one around me). So I really don't know how can I help you more.

    Sorry.

  3. Zulu11
    Member
    Posted 10 months ago #

    Hi

    Thanks for such a swift response! If you reduce the window size on your desktop to around the size of an iPhone it will replicate the problem :)
    This is the website: http://solutionsseviin.com.au/solutions/

  4. Rija Rajaonah
    Member
    Plugin Author

    Posted 10 months ago #

    Ok.

    it's not an iPhone-specific problem.

    You will need to edit this plugin's file: "./scripts/front-css.css".

    If you don't have direct (ftp) acces to it, in your dashboard go to menu " >> Plugin >> Editor". Once in this page, at the top-right part of it, choose and select (click) the plugin to edit (Cnhk Slideshow).

    Then now, on the right side of the page there should be a list of files. The concerned file is in the middle of the stack - the 11-th from the end - (cnhk-slideshow/scripts/front-css.css).

    The first rule (the 1st block) in this file looks like:

    .cnhk-slideshow {
        width: 100%;
        height: auto;
    }

    You'll need to add "!important" to the last property. So the first rule should look like the following:

    .cnhk-slideshow {
        width: 100%;
        height: auto !important;
    }

    Don't forget to save changes by clicking on the "Update File" button.

  5. Zulu11
    Member
    Posted 10 months ago #

    Excellent! Thank you, your plugin is very good and your support is superb.

  6. Rija Rajaonah
    Member
    Plugin Author

    Posted 10 months ago #

    Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags