I'm using Create, a WP theme by Themetrust and reached out on their forums with no reply. I'm using the slide menu with smooth scroll, the linking/scrolling is working fine. As of now the slide menu only closes when the "x" icon is clicked. When a menu link is clicked the smooth scroll occurs correctly, but the menu stays visible. I'd like for the menu to slide away in an identical way as it does when the "x" is clicked. …
I'm having trouble hiding my header on mobile devices. My wordpress theme does not have an option to hide it, so I was looking at the theme's header.php file if there was anything I could add to it. Haven't been able to figure out a solution, any ideas?? Thanks <?php /** * The header for our theme * * This is the template that displays all of the <head> section and everything up until <div id="content"> * * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials …
I am getting a weird problem with a client site. There is an existing WordPress working on it and has been working without any problem. I have deployed a mobile application that uses the WordPress API. Suppose my laptop and mobile app is connected to the same Internet Box. When using the mobile app, after I am unable to access the website even with my laptop. It seems as if the WordPress server or WordPress instance is banning my IP. …
I have an extremely frustrating problem where mobile (tested chrome on android & ios, and safari on ios) is always using the largest sized image from the srcset (even if a smaller size is EXPLICITLY chosen in the editor). Here is a summary of the problem: In Wordpress editor, when inserting an image, I choose LARGE (720px x 480px) as the image size On a mobile device, the full size image from the srcset is being downloaded and shown on …
I want to display a fixed banner from the bottom left of the screen. But at the same time, the banner is different for desktops and mobile devices. Please tell me. How can I determine the user's device? For this, can I use the wp_is_mobile function? As I understand it, wp_is_mobile identifies the device by the user agent of the browser. PHP code is very simple. Something like the following? <?php if (wp_is_mobile()):?> <div class="mobile_banner"><img src="mobile.png"></div> <?php else:?><div class="desktop_banner"><img src="desktop.png"></div><?php …
hoping you could help. So, Im using xtheme, and wordpress. And I have code to make my mobile menu a fixed top menu, so its always visible. I also have JavaScript to make it retract upon clicking a menu item so the menu doesn't cover the screen. css to make it fixed: @media (max-width: 979px) { .x-navbar-fixed-top { position: fixed!important; } } Javascript: jQuery(document).ready(function($){ $('.x-navbar .mobile .x-nav >').on('click touchend', function(e) { document.getElementsByClassName("x-btn-navbar")[0].click() }); }); This works to a point, however, …
I've build this website: https://study-help.lu/wp/fr/page-dacceuil/ When I load it on my phone the menu just appears on the outside of the screen on the right. I know a bit of CSS but I don't know the difference where to modify CSS for desktop and mobile. I've used the Elementor builder. Any advice on how to fix this? Thank you, Patrick
Hello i can't solve my problem. When users is on mobile device and click on "show mobile version" or something like that it will show him desktop version of web and if he click again switch back it will switch to normal mobile. Main problem is i dont know how my website can remember which version he want to see and keep it
I have WordPress website with Newspaper Theme and I have a problem with the Menu. Link: demo2.tmanow.net I have 2 problems: The menu mobile show up in left side even i in desktop mode, this not should be displayed,just if i in mobile mode... From my mobile the menu also open autumaticlly and this not good.. I tried to play some hours with the Css, but the problem still exist.. how can i fix that ? regards, Tomer.
i am building mobile application with ionic and wordpress rest api v2, how to create post with image or upload image with wp rest api? i just can create post without image. Thanks
I'm building a mobile navigation menu. I wan't the menu to work like this: In this image you see a mobile nav with multiple depth levels. This is how I wan't the code structure to look like: <ul> <li></li> <li class="menu-item-has-children"> <div class="toggle-button"></div> <a href=""></a> <ul class="submenu"> <li></li> <li class="menu-item-has-children"> <div class="toggle-button"></div> <a href=""></a> <ul class="submenu"></ul> </li> </ul> </li> </ul> You can see a menu item "Products" with children that are hidden. Below you see "Industries". Here the children are …
By default, Divi theme forcibly stops background videos from ever displaying on mobile devices. Is there a way around this, even if not all devices are supported, at least to show the mp4/webm to the devices that do support them would be great.
I have been trying to get SRCSET to load in images for different device sizes. My understanding is that when the device width or window width changes, that SRCSET will ONLY load the URL of the corresponding size. I can see the URLs generating for each image, as well as the sizes. These are all actual images and they link properly to the correct sizes: This is great! The issue is, I haven’t been able to produce, on any device, …
The mobile menu stopped working after I updated WP to the latest version, I assume it has to do with a customization of the theme. http://kvintage.com/ Wondering if anyone could please take a quick look and guide me through fixing this error! The theme is Twenty Thirteen. Thanks!
I have a problem with the thumbnail I setup Customizing ▸ WooCommerce ▸ Product Images The desktop page version shows a smaller thumbnail and the mobile site show the biggest version, Google page speed I got bad results because the mobile site is bigger than the desktop. Category grid view have 100 pictures and too mutch size So way working opposite? Mobile site version picture size 68 Kb. Desktop site version size 41 Kb. Somebody can check reakiroshop.eu enter image …
After editing my website and making it tablet/mobile responsive through Elementor, everything seems to look just right. However, this is only true when I view the website in Elementor. When I try to visit my site by clicking 'Visit Site' then 'Customize', then viewing my website in its tablet/mobile version, the changes I made in Elementor do not seem to reflect. What seems to be the problem here?
it's a week that I'm stucked with the burger menu on mobile/small screen. When I click on the burger nothing happens even if everything seems good with the code. Where am I wrong? Here the HTML / PHP <nav class='navbar'> <div class='burger'> <span class='icon-bar'></span> <span class='icon-bar'></span> <span class='icon-bar'></span> </div> <div class='navmenu'> <?php wp_nav_menu(array( 'theme_location' => 'headerMenuLocation' )); ?> </div> </nav> HERE THE JS let burger = document.querySelector('.burger'); let nav = document.querySelector('.navmenu'); burger.onclick = function () { nav.classList.toggle('wide'); }; AND HERE …
How to add a fixed shopping cart button at the bottom of every page, so that it becomes very easy for the mobile users to view the cart. I'm using woocommerce.
I have a client that wants to landscape support for his website. I have never needed to optimize a website for landscape view nor did it ever cross my mind. If possible how do I do it on WordPress?