• Resolved anphira

    (@anphira)


    The theme is suddenly broken on iPads. I even tried going to your demo site (at themes.fruitfulcode.com/fruitful/) and that’s broken as well.

    On every iPad (and I’ve tried several) the theme displays portrait correctly, but on landscape it displays portrait as well! So there is a big blank space on the right.

    This is a big issue as I have fruitful installed on a number of sites!!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author Fruitful Code

    (@fruitfulcode)

    Hello,

    Thanks for using our theme and letting us know about this problem.

    Currently our development team is working on it and I will keep you updated when this issue will be solved.

    Regards

    Thread Starter anphira

    (@anphira)

    Thanks @fruitfulcode — please let me know if you have an ETA on it.

    Thread Starter anphira

    (@anphira)

    For everyone else having this problem, I’ve got a temporary patch:

    Find in the functions.php file the function fruitful_metadevice() and remove the lines about iPads.

    /**
     * Fix Fruitful issue on iPads
     */
    if ( ! function_exists( 'fruitful_metadevice' ) ) {
    	function fruitful_metadevice() {
    	}
    }
    add_action( 'wp_head', 'fruitful_metadevice' );
    Theme Author Fruitful Code

    (@fruitfulcode)

    Hi,

    Thanks for your code. We will check you solution.

    Regards

    • This reply was modified 9 years, 5 months ago by Fruitful Code.
    Thread Starter anphira

    (@anphira)

    @fruitfulcode

    I had set a viewport in my child theme when I posted that code change.

    Here’s what I’m using without a child theme to get it to work:

    if ( ! function_exists( 'fruitful_metadevice' ) ) {
    	function fruitful_metadevice() {
    		echo '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>';
    	}
    }
    Theme Author Fruitful Code

    (@fruitfulcode)

    Hello.

    Our developers solved this issue. In order not to wait for the update, please use the latest developers version from GitHub:

    https://github.com/Fruitfulcode/Fruitful

    You should replace your data directory to data from the archive. Don’t forget to unzip it. If you didn’t change anything in the source files then your configuration will be not lost.

    Regards.

    Hi, here my feedback.
    Thanks for your fix but is not working for me (ipad air 2).

    I replaced all the data files inside fruitful theme director but anything is changed.

    Instead the anphira’s tricks works properly (thanks anphira’s 😉 ).

    Thanks

    • This reply was modified 9 years, 3 months ago by anatoli.
    • This reply was modified 9 years, 3 months ago by anatoli.
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Theme broken on iPads’ is closed to new replies.