Revolution Footer/Subfooter CSS conflicting with some of the shortcodes

This topic contains 14 replies, has 3 voices, and was last updated by  Kiran 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #510743

    Sangita Dixit
    Expired Member
    Post count: 36

    This post is being created as per the staff guidance here:
    https://wpgeodirectory.com/support/topic/cannot-add-custom-entry-and-many-more-problems/

    There are many shortcodes like following one, even only one of these is used on the Lisiting page, website CSS breaks over footer overlaps:

    [gd_best_of title=”Best of Destinations” post_type=”gd_destins” tab_layout=”top” post_limit=”5″ cat_limit=”3″ add_location_filter=”1″ use_viewing_post_type=”1″]
    [gd_compare_list allow_remove=”1″]
    [gd_compare_button badge=”Compare Destinations” bg_color=”#0073aa” txt_color=”#ffffff”]
    [gd_dashboard title=”Destinations Dashboard”]

    I have tried making the all-new page even without WP-Bakery Page Builder and set it as the default listing details page. Still no luck.

    #510746

    Sangita Dixit
    Expired Member
    Post count: 36
    This reply has been marked as private.
    #510803

    Sangita Dixit
    Expired Member
    Post count: 36

    After more diagnostics, I got into some strange conclusions:
    1. fixed-footer-container div tag shifts into the main div after we insert any of the above-listed shortcodes. This causes the whole page to break.

    2. For the temporary fix, we can set z-index of fixed-footer-container to a very low value in negative or set it’s “position” to “relative” from “fixed”.

    But this is not the actual solution but a serious bug of above few geodirectory shortcodes. Because after inserting shortcodes not only fixed-footer-container shifts to the main container, many other things like “dropdown menu”, “scroll to top” options, etc. also stops working. Many times, not only on a single page but the whole website.

    If you are unable to replicate the issue, kindly inform me, I can record a video and send it to you.

    #510823

    Alex Rollin
    Moderator
    Post count: 27815

    I tested as described above and could not see the issue.

    A video would help, yes.

    #510915

    Sangita Dixit
    Expired Member
    Post count: 36
    This reply has been marked as private.
    #511083

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #511352

    Sangita Dixit
    Expired Member
    Post count: 36

    Thanks, Alex. I am still waiting.

    #511353

    Kiran
    Moderator
    Post count: 7069

    Hi Sangita,

    I have checked and found that adding “title” parameter to shortcode adds extra div tag in widget title. I checked by removing “title=’Best of Destinations'” and it worked.

    Provide us FTP credentials to look into more in theme functions to check what causing this problem.

    Best Regards,
    Kiran

    #511360

    Sangita Dixit
    Expired Member
    Post count: 36
    This reply has been marked as private.
    #511361

    Sangita Dixit
    Expired Member
    Post count: 36

    No problems in removing the title from shortcodes. I can insert write manually also outside of shortcodes.

    Can you please also check compare shortcode? This also giving same problem. I have removed badge=”Compare Destinations” still no luck.

    [gd_compare_button bg_color=”#0073aa” txt_color=”#ffffff”]
    [gd_compare_list allow_remove=”1″]

    #511364

    Kiran
    Moderator
    Post count: 7069

    Hi Sangita,

    We need to do some debugging in theme files and for that we need to access files. Using WP-File Manager for file editing may breaks the site sometimes when file being saved has functions which are used to running by WordPress in background. WP-File Manager plugin is good to add file/folder, but edit & save file may creates trouble sometimes.

    Do you have staging/test site?

    Regards,
    Kiran

    #511367

    Sangita Dixit
    Expired Member
    Post count: 36
    This reply has been marked as private.
    #511392

    Kiran
    Moderator
    Post count: 7069

    Hi Sangita,

    Issue has been fixed, there was extra div in widget after_title parameter and it mismatching with GeoDirectory shortcodes.

    I have added following PHP code snippet in theme functions.php file to fix this conflict.

    
    
    /**
     * Revolution Theme: Fix widget after_title extra div.
     */
    function gd_snippet_191003_wp_super_duper_widget_output( $output, $instance, $args, $super_duper ) {
    	if ( $output != '' && ! empty( $super_duper ) && empty( $super_duper->options['no_wrap'] ) ) {
    		if ( isset( $instance['title'] ) && empty( $args['after_widget'] ) && $instance['title'] != '' && isset( $args['after_title'] ) && $args['after_title'] == '</h6><div class="widget_content">' ) {
    			$output .= '</div>';
    		}
    	}
    	return $output;
    }
    add_filter( 'wp_super_duper_widget_output', 'gd_snippet_191003_wp_super_duper_widget_output', 10, 4 );

    Please check and let us know.

    Regards,
    Kiran

    #511396

    Sangita Dixit
    Expired Member
    Post count: 36

    I am just flattered by your awesome support. I have no words. I will surely write 5 stars review on WordPress and Other places to review. Thank you so much, Alex and Kiran. Kuddos to GeoDirectory.

    #511400

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 15 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount