How to disable the topbar in mobile? [closed]
You can do it with CSS. @media screen and (max-width: 600px) { .qodef-top-bar { display: none; } }
You can do it with CSS. @media screen and (max-width: 600px) { .qodef-top-bar { display: none; } }
It looks like the following code, the z-index works differently on mobile: #masthead:not(.menu-absolute){ z-index: 2000; position: relative; } I’d suggest you put the HTML for that button in the same line as the logo and mobile menu then hide/show it when you need to. It would placed under this HTML <div id=”logo-container-mobile” class=”col-lg-0 logo-container middle”>
Turns out I am clearly a moron and forgot to clear my cache, the below code works perfectly add_action( ‘wp_enqueue_scripts’, ‘agentwp_dequeue_stylesandscripts’, 100 ); function agentwp_dequeue_stylesandscripts() { if ( class_exists( ‘woocommerce’ ) ) { wp_dequeue_style( ‘selectWoo’ ); wp_deregister_style( ‘selectWoo’ ); wp_dequeue_script( ‘selectWoo’); wp_deregister_script(‘selectWoo’); } }
How can I use my blog page as the homepage but only for mobile/tablet visits?
This is complex and considering the sensitive nature of the application and the usage “doctor alerts” I would really consider not using a blog platform. There are a lot of systems out there that support secure sms with options for media. If you must for some reason use WordPress, to authenticate users have a look … Read more
Have you tried using the wp_is_mobile conditional tag? http://codex.wordpress.org/Function_Reference/wp_is_mobile
I used this: <?php if ( wp_is_mobile() && is_front_page() ) { wp_redirect( ‘http://www.example.com’, 301 ); exit; } ?> in header.php of theme.
It was because of a plugin called Easy Social Sharing Buttons version 3.5 I bought from Code Canyon. It is quite feature rich and may slow down your website. I would not say you should avoid it but I would advise you to do an extensive research that your website is running fine on different … Read more
Did you contact the theme’s support? They should be able to help you out as it seems to be an issue with the theme.
function mobile_redirect() { if (isset($_COOKIE[“redirected”]) && $_COOKIE[“redirected”]) return; global $is_iphone; if( isset($is_iphone) && $is_iphone ) { wp_redirect( ‘/mobile/’ ); setcookie(“redirected”, true); exit; } } add_action(‘init’, ‘mobile_redirect’); This code redirects every mobile visitor to /mobile/ and then sets a cookie that the user is redirected. If the cookie is set, then the redirect doesn’t take place. … Read more