This topic has 22 replies, 3 voices, and was last updated 6 years by Kieran_SQ.

  • Author
  • #194812
     cbodini
    Participant

    Hey guys,

     

    Just updated my Kleo theme and it looks like Gravity forms are being cut off (half the form not visible) on pages. On posts, the gravity forms display as expected.

    Attachments:
    You must be logged in to view attached files.
    #194834
     Kieran_SQ
    Moderator

    Hi,

    Thanks for reaching out with this issue, I am actively looking into the cause of this and will get back to you as soon as I have an answer.

    In the meantime can you confirm for me if main content, where the form resides, can be scrolled on your mobile device? Please also let me know the make / model of the mobile device.

    Thank you for your patience,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #194858
     cbodini
    Participant

    Hi Kieran,

    A page you can see with a gravity form is here: https://embrasurespace.com/on-podcasts/build-your-podcast-page/

    It appears that the error is isolated to Safari browsers on desktop/laptops.

    I can see the form when using chrome, firefox, and a mobile device (apple iPhone 6 using safari mobile browser).

    #194860
     Kieran_SQ
    Moderator

    Hi,

    I need to rule out any caching, plugin or theme issue. Please could you do the following tests on a staging or local environment and let me know the outcome please.

    After each one of these steps please completely purge your local cache (Ctrl+F5) and retest the page you linked above to see if the issue persists. Please let me know the outcomes

    1. Disable caching (keep disabled)
    2. KLEO and plugin update check. Please make sure you have the latest version of KLEO (4.3.6) and all other plugins that come bundled with KLEO by going to WP Admin > Appearance > Install Plugins. K Elements (4.3.5.1) WP Bakery (5.4.7)
    3. Disable all plugins except for K Elements and WP Bakery
    4. Switch to the KLEO parent theme
    5. Switch to Twenty Seventeen or Twenty Sixteen

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #194872
     cbodini
    Participant

    Thanks Kieran,

    After clearing the caches (server and cloud flare) and enabling development mode, it appears that using the parent theme instead of the child theme resolves this issue.

    It looks like in the child theme there’s an error on line 11 (see screenshots attached). I actually don’t need any custom functions made available in the child theme, but I would like to keep the theme settings/layout I have worked on in the child theme when activating the parent theme…

    What’s the best way to resolve this? Should I just export Kleo child theme settings from dashboard> theme options > import/export; export the settings in the child theme, then activate parent theme and import settings?

    Also

    WP debug mode returns the following message above gravity forms:

    Deprecated: Function mcrypt_get_iv_size() is deprecated in /www/wp-content/plugins/gravityforms/common.php on line 5155 Deprecated: Function mcrypt_create_iv() is deprecated in /www/wp-content/plugins/gravityforms/common.php on line 5158 Deprecated: Function mcrypt_encrypt() is deprecated in /www/wp-content/plugins/gravityforms/common.php on line 5158

    However that appears to be something that needs to be resolved by gravity forms.

    Attachments:
    You must be logged in to view attached files.
    #194876
     Kieran_SQ
    Moderator

    Hi,

    You shouldn’t need that line in the style.css and you’re missing the functions.php file.

    The content of the style.css file, at minimum, should be as follows

    COPY CODE
    /*
    Theme Name:     Kleo Child
    Theme URI:
    Description:    Child theme for Kleo
    Author:         SeventhQueen
    Author URI:     http://seventhqueen.com
    Template:       kleo
    Tags:  one-column, two-columns, right-sidebar, fluid-layout, custom-menu, featured-images, post-formats, sticky-post, translation-ready
    License: GNU General Public License
    License URI: license.txt
    */
    
    /*
    * Please add your custom styles below
    */

    You should also have a functions.php file within the root of the /kleo-child/ folder, the minimum content of this file is

    COPY CODE
    <?php
    /**
     * @package WordPress
     * @subpackage Kleo
     * @author SeventhQueen <themesupport@seventhqueen.com>
     * @since Kleo 1.0
     */
    
    /**
     * Kleo Child Theme Functions
     * Add custom code below
    */
    

    I’m not sure what files you have in the directory /lib/ but seeing as this appears to be the only custom content the issue would appear to lie within those files. Copying across the latest versions of the altered files and making your desired changes again should resolve this issue.

    You can of course do as you described above and not use the KLEO Child theme (if not required). You would need to make a full backup of your database and WordPress files, then go to Theme Options > Import / Export and make a copy of your settings, switch to KLEO and then import your backed up settings.

    Once you have verified that everything is working fine you would be able to delete the KLEO Child theme.

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #194877
     Kieran_SQ
    Moderator

    Hi,

    Something else I noticed whilst reviewing your site for any changes, the line in the CSS file is using the incorrect character and therefore will fail to import anything.

    Currently you have

    @import url(“../kleo/style.css");

    Ocassionally on load this fails and loads as

    @import url(“../kleo/style.css");

    It should be

    @import url("../kleo/style.css");

    More information: https://www.w3schools.com/cssref/pr_import_rule.asp

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #194915
     cbodini
    Participant

    Thank you for all these Kieran, this is truly great support for the theme.

    I ran out of time today, but will take a look at just cleaning up the child theme…It actually looks like my functions.php was moved into lib. I had a developer do some work to make videos uploaded to the site upload to video press. I don’t think it actually ever worked though and I no longer need the function. I’m thinking I can paste the code you provided as the minimum for a style.css and a functions.php in the child theme and delete the /lib/. Would that basically reset the child theme to what was pre-packaged with Kleo without erasing the theme settings I’m using?

    The code in the my_functions.php is:

    COPY CODE
    <?php
     
    /**
    * Redirect buddypress and bbpress pages to registration page
    */
    function kleo_page_template_redirect()
    {
        //if not logged in and on a bp page except registration or activation
        if( ! is_user_logged_in() &&
            ( ( ! bp_is_blog_page() && ! bp_is_activation_page() && ! bp_is_register_page() ) || is_bbpress() )
        )
        {
            wp_redirect( home_url( '/register/' ) );
            exit();
        }
    }
    add_action( 'template_redirect', 'kleo_page_template_redirect' );
    
    function rtamazon_can_upload_to_bucket( $status, $attachment_id ) {
    
         // Get the mime type for uploading media.
         $mime_type = get_post_mime_type( $attachment_id );
         $type_arr = explode( '/' , $mime_type );
    
         // Get media type.
         $type = $type_arr[0];
    
         // Check if it is video type, then skip uploading to bucket.
         // Other types you can define i.e 'image', 'audio' etc.
         if ( ! empty( $type ) && 'video' === $type ) {
             $status = false;
         }
    
         return $status;
    
    }
    add_filter( 'rtawss3_can_upload_to_bucket', 'rtamazon_can_upload_to_bucket', 99, 2 );
    
    function wc_ninja_remove_password_strength() {
    	if ( wp_script_is( 'wc-password-strength-meter', 'enqueued' ) ) {
    		wp_dequeue_script( 'wc-password-strength-meter' );
    	}
    }
    add_action( 'wp_print_scripts', 'wc_ninja_remove_password_strength', 100 );
    #194916
     cbodini
    Participant

    Forgot to add the screenshot of the /lib/my_functions.php

    Attachments:
    You must be logged in to view attached files.
    #194922
     Kieran_SQ
    Moderator

    Hi,

    Yes, you should be able to recreate the file contents or simply reupload a clean copy of the KLEO Child theme into the correct directory. I have attached a copy of the KLEO Child theme for you to this ticket should you wish to use that instead.

    If you plan to move the my_functions.php file out of the lib directory make sure to rename the file to functions.php

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    Attachments:
    You must be logged in to view attached files.
    #194926
     Kieran_SQ
    Moderator

    Note: Always be safe when making any changes like this. Backup the theme options, database and WordPress files before.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #195866
     cbodini
    Participant
    This reply has been set as private.
    #195870
     Kieran_SQ
    Moderator

    Hi,

    You’re getting some errors in the console but I can’t tell where they’re coming from. I will assign this ticket to one of our developers for review, they’ll be in touch as soon as they can, Monday to Friday, East European Time.

    In the meantime it would be helpful to have login credentials for your site. Please update this ticket, in a private reply, with admin credentials and SFTP / FTP if possible.

    Thank you for your continued patience,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #195960
     cbodini
    Participant
    This reply has been set as private.
    #196044
     Radu
    Moderator

    Hi,

    I see that “wired layout” most sure there some css file missing! So if you will made a change to theme options and immediately you preview the site since the kleo_dynamic.css file it’s generated once you press save options or play with customizer.

    So maybe you had done that prior to preview the site ?

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #196047
     cbodini
    Participant
    This reply has been set as private.
    #196151
     Radu
    Moderator

    Hi,

    I see, when you made a change to theme options and immediately you preview the frontend it may be like that because the kleo_dynamic.css file was not completely generated. Usually this it takes from 0 to 5 seconds.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #196191
     cbodini
    Participant
    This reply has been set as private.
    #196197
     Radu
    Moderator

    I see,

    At this moment it’s like that

    The resources seems to not be found on the server… not sure why

    I’ve noticed also this

    did you had changed the code of the theme in some way ? in child or directly in the theme ?

    If yes, try to deactivate the child theme and check again, try to re-upload parent theme files over the existing one, but if you had made some changes make a backup first.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #197437
     cbodini
    Participant

    Thanks Radu.

    I’m still looking into this. I have a feeling that this may be related to a plugin that offloads uploads to an Amazon S3 bucket…I’ll update you guys when it’s resolved.

    Thanks for all this help.

    #197451
     Radu
    Moderator

    Ok
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #198084
     cbodini
    Participant

    Thank you both for all your help. The screenshot with the hint that something in wp-content lead to a dead path help me figure this out.

    This was caused by a plugin that offloads some of the media to an amazon S3 bucket and servers the content from the bucket instead of my server. The plugin in question is the RtMedia Amazon S3 plugin, changed the settings within that plugin has resolved the display issues noted above.

    Again, thank you.

    – Chance

    #198180
     Kieran_SQ
    Moderator

    Hi Chance,

    Very glad to hear this is now resolved. Feel free to open a new ticket any time and we’ll be happy to assist.

    All the best,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

Viewing 23 posts - 1 through 23 (of 23 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?