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 TicketTagged: Revolution theme, Shortcodes css conflict
-
AuthorPosts
-
September 29, 2019 at 2:32 pm #510743
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.
September 29, 2019 at 2:39 pm #510746This reply has been marked as private.September 30, 2019 at 5:09 am #510803After 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.
September 30, 2019 at 8:29 am #510823I tested as described above and could not see the issue.
A video would help, yes.
September 30, 2019 at 2:37 pm #510915This reply has been marked as private.October 1, 2019 at 2:33 pm #511083This reply has been marked as private.October 3, 2019 at 5:10 am #511352Thanks, Alex. I am still waiting.
October 3, 2019 at 6:36 am #511353Hi 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,
KiranOctober 3, 2019 at 7:16 am #511360This reply has been marked as private.October 3, 2019 at 7:35 am #511361No 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″]October 3, 2019 at 8:00 am #511364Hi 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,
KiranOctober 3, 2019 at 8:43 am #511367This reply has been marked as private.October 3, 2019 at 12:13 pm #511392Hi 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,
KiranOctober 3, 2019 at 12:35 pm #511396I 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.
October 3, 2019 at 12:41 pm #511400This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket