Custom CSS on mobile
try adding overflow:hidden to the .wrap @media only screen and (max-width: 767px) #wrap { width: 100% !important; overflow: hidden; }
try adding overflow:hidden to the .wrap @media only screen and (max-width: 767px) #wrap { width: 100% !important; overflow: hidden; }
I was able to fix this issue after reading this post from the plugin author. Once I customised the shortcode attribute where I was using it in the text footer widget everything worked as intended. 🙂
Another way of phrasing it is to just MOVE the body. The page-id class is applied to the body, so: body.page-id-9399 #gform_wrapper_3 { background-color: #363c42; } Would have worked
Just found how to do it. The solution is very simple, it all was just about playing around the “slideToggle” function on the same object I was working on in the main question. Only one problem won’t disappear, if I click once, and then mouseout, the submenu will be open-able via hover. You’re forced to … Read more
Change class value using CSS
It looks like your jQuery selector is incorrect. Try <script>$(“.hidetab”).css(“display”, “none”);</script>
found it: add_filter( ‘body_class’, ‘dc_parent_body_class’ ); function dc_parent_body_class( $classes ) { if( is_page() ) { $parents = get_post_ancestors( get_the_ID() ); $id = ($parents) ? $parents[count($parents)-1]: get_the_ID(); if ($id) { $classes[] = ‘top-parent-‘ . $id; } else { $classes[] = ‘top-parent-‘ . get_the_ID(); } } return $classes; }
Sorry I am unable to comment so I have to post here. I will give this answer as some examples and then hopefully you can use in your situation or provide further information about your exact setup. Make sure you are using a child theme (If you are unsure about what this is please read … Read more
How to display image on WordPress homepage
Can’t display anything through homepage text editor