menu no hiding with Iframe
-
Im working on a site for my church. on the child theme I add to function.php some code so I was able to have a fixed bar on top of the menu
function mp_custom_header_above( $main_header ) { $custom_header = '<header id="custom-header-above">'; $custom_header .= do_shortcode('[et_pb_section global_module="206"][/et_pb_section]'); $custom_header .= '</header> <!-- #custom-header-above -->'; return $custom_header . $main_header; } add_filter( 'et_html_main_header', 'mp_custom_header_above' );
The button that says “start giving” has some code give to me by the client. this code call a JS file that display an Iframe with a form
<p style="text-align: center;"><button class="tithely-give-btn" style="background-color: transparent; font-family: inherit; font-weight: bold; font-size: 12px; padding: 5px 15px; border-radius: 2px; cursor: pointer; background-image: none; color: white; text-shadow: none; display: inline-block; float: none; border: 2px solid white;" data-church-id="*****">Start Giving</button> <script src="https://tithe.ly/widget/v3/give.js?3"></script> <script> var tw = create_tithely_widget(); </script></p>
Im not sure how can I make the bar to hide behind the Iframe after the button is clicked.
Any sugestions?
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘menu no hiding with Iframe’ is closed to new replies.