If your goal is responsiveness, try and stay away from absolute positioning, or you'll have to media query your way to the same results. Force Desktop View with WordPress Website on Mobile Devices ccastilla37 (@ccastilla37) 4 years, 4 months ago Hello all, I am totally new with WordPress and not knowledgeable with CSS or editing a theme on Editor. See, it all depends upon two things, first the theme you choose and then on mobile browser. You can use it to create galleries that look fantastic on mobile devices, and that don't force visitors to zoom out in order to navigate between images. Vertical alignment of elements overlapping in IE. Possibility to open menus with enter key when got focus, New! By continuing to use our website and/or clicking OK, you're agreeing to our use of cookies in accordance with our cookies policy. } How to force desktop view on mobile devices - Bootstrap? I'm new to Divi after dabbling with elementor and WordPress for a while but never really committed to building a website. When you add the following to the functions.php file: var desktopBreakpoint = 980; Here's how: Step 1: In the address bar of the Android browser, type, " about:debug ". Remove the bracket } from the bottom (below the add_filter). var desktopBreakpoint = 980; Great Support, our free support is above the average. Fixed bug in the admin menu options when using translations, Fix! How to View the Mobile Version of WordPress Sites from Desktop, How to Choose the Best Domain Registrar (Compared), 24 Must Have WordPress Plugins for Websites (Expert Pick), How to Install Google Analytics in WordPress for Beginners, 6 Best Business Phone Services for Small Businesses, How to Add Keywords and Meta Descriptions in WordPress, How to Get a Free SSL Certificate for Your WordPress Website (Beginners Guide), What is a Blog and How is it Different from a Website? (located under section rull in CSS). Thankfully those most common WordPress website builders have this in mind so you can create mobile-specific styling. Touchy. This will allow you to move elements outside of a page section on one version without changing the element's placement in the other version. New selector to hide the menus from Astra theme, Divi theme, New! Hide more theme/plugin menus by default (Elementor, Ocean WP, Square theme, Genesis theme), Improvment! And for a responsive website, this tag would be placed in the header as follows: Here, width, set to device width, shapes the view of the website according to the device. However, clicking on the link does not change the content width in the viewport section. Staging Ground Beta 1 Recap, and Reviewers needed for Beta 2. I am testing with Google Chrome's built in mobile tester. The client wanted a responsive website. Implement depencies on script loadind, Improved! Every tag opened must be closed. Log into your WordPress website Select Plugins and Add New from the side menu Search for 'optimole' using the search box at the top right Select Install and Activate when the options appear You will be prompted to sign up for an API key, which you'll need to do to be able to use it. You should definitely create mobile-specific content for your lead generation forms. Will you please link to the correct page so that I can help you to fix this issue? Support Theme: OceanWP Force Desktop View with WordPress Website on Mobile Devices. . WP Mobile Menu will work with any theme, but may require our help to hide the theme menu. Thanks for contributing an answer to Stack Overflow! Select the Tablet or Mobile view to see your website transform its elements like images, videos, menus, and text boxes into a smaller, more readable and clickable format. Now, to begin with the implementation. To learn more, see our tips on writing great answers. Most CDNs resize images for mobile, but it's usually a paid feature (screenshot is for FlyingCDN) Source: WP Speed Matters Facebook Group. Yoast SEO academy Know how to outrank your competition Include version in the JS/CSS enqueue, Fix! You can also hold down the Shift key, then click and move your mouse to simulate pinching the mobile screen to zoom in or out. jQuery(#viewDesktopLink).text(); There are additional features like image resizing, auto-optimize, bulk smush to optimize up to 50 images at once, and lazy loading. Previewing the mobile layout helps you see how your website looks on mobile devices. Remove background gradient from free demo content, Fix! Thank you for that! im trying to follow your code but its not working on my side. add_action( wp_enqueue_scripts, remove_media_queries, 20 ); add_filter(ocean_meta_viewport, owp_child_viewport); In this situation, you would have to explicitly load the CSS for the desktop version. Note: Depending on what theme you are using, the view may be slightly different. Exclude the custom JS fromt the CSS generation process, Fix! Method 2: Check if you have any caching plugins on your site or any server level caching enabled. Users on mobile devices are often looking for different things than desktop users. (If you have not completed the previous steps, please see here for instruction.) Try replacing viewDesktopLink with #viewDesktopLink. Fix menu panel positions when showing the admin bar, Fix! The topic Force Desktop View with WordPress Website on Mobile Devices is closed to new replies. I meant to put that the site is not active yet so no live version available. }. Reduce Network Latency. } WP Mobile Menu The Mobile-Friendly Responsive Menu is open source software. See how WPBeginner is funded, why it matters, and how you can support us. } Connect and share knowledge within a single location that is structured and easy to search. Superfly. Fix security issue in code from TitanFramework, Fix! Yes, it can be a lot of work, but you'll develop habits as you go. Click Feature Filter and check Responsive Layout. 7. And now a days most of the themes are responsive, they automatically adjust to mobile browser, even wordpress default theme twenty eleven and twelve are responsive. Thank you Rohan for your guide. UX improvments on the settings page, New! Select the them you want to use when site is viewed on a mobile phone. Might I recommend freeCodeCamp as well, since they've added some excellent challenges to help teach newer practices to make your projects more responsive, as well as fundamentals like box model. Thanks for sharing about a desktop version. The RICG Responsive Images plugin ensures that on mobile devices, the smallest image is sent to the browser that will still look good on the page. jQuery(#viewDesktopLink).click(function(e) {. Simply open the Google Chrome browser on your desktop and visit the page you want to check. Its very necessary for us. Setup mobile menu and widgets for mobile theme. * @link http://codex.wordpress.org/Child_Themes There's an easy way to force desktop versions to load, but first you'll need to access some hidden settings. The plugin doesn't only differentiate between mobile devices and desktop devices but it can also detect which tier of mobile device your site's visitors are using. Sorry. If so, what do I fill in for the $handle, $src, etc values? Fix error on function that doesnt exist, Improvment! This means that having a site that looks great on mobile is essential. Fix submenus JS issue Replace jQuery by $, Fix! Hi Reddit, hope ye are all well. Click in the Overlay wasnt working, Fix! Gap on the right side when using the Slideout Push Content, New! I've added some comments below, just to help you correct some errors in your HTML. Remove Ace Editor and replaced by CodeMirror reducing almost 2mb, Improvment! Yes! Hello I am using this theme on GetNakedSkin.net. What Is the Difference Between 'Man' And 'Son of Man' in Num 23:19? Do I need a thermal expansion tank if I already have a pressure tank? Your License Key show up in the dashboard, which you'll need for later. Step 2: Initial Setup After installing the plugin you will notice a new Responsive Menu Menu in the admin sidebar. How do I force Desktop view with WP when using a mobile device? Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide, I tried the answers on the link above but they didn't work. But simply having a responsive site may not go far enough. Promotion Banner was remove from the WordPress admin dashboard, and dismisse button already works in the Mobile Menu options banner. Yoast SEO for WordPress Get the #1 WordPress SEO plugin; Yoast SEO for Shopify Get the SEO app for your online store; Other WordPress plugins Optimize every aspect of your site; Features overview What Yoast SEO for WordPress can do; Yoast SEO Premium Get extra tools to make SEO easy View Yoast SEO for WordPress ; Learn SEO. We have been creating WordPress tutorials since 2009, and WPBeginner has become the largest free WordPress resource site in the industry. jQuery(#viewDesktopLink).text(); Removed Duplicated color pickers in the Font settings fields, New! Any idea why this could be? Is there an error? However, I do not get it to work I included the code into my functions.php escluding the opening PHP tag as obviously there is already one in my functions.php. Detach elements only with Push Content Effect, Fix! Center a column using Twitter Bootstrap 3. Increased the maximum width trigger, to keep the menu visible in larger resolutions, New! Fix uncachable dynamic-mobmenu CSS, Fix! Mutually exclusive execution using std::atomic? }); Ruben at the point where you have set viewport content width, try updating it to this How Much Does It Really Cost to Build a WordPress Website? Replace padding-top by margin-top on mobmenu-content, Fix! Google Chrome browser has a set of developer tools that let you run various checks on any website, including seeing a preview of how your website looks on mobile devices. Next on our list of WordPress mobile plugins, FooGallery is a gallery solution that offers some great features for responsive websites. return $viewport; This theme is also recommended by Google and the theme also passes the Google Mobile test, which ensures that the SEO ranking for the . Change the mobile menu on twenty twelve for WordPress? Whats the Difference Between Domain Name and Web Hosting (Explained), WordPress.com vs WordPress.org Which is Better? Smush is specifically for image optimization in WordPress. Forcing desktop version on mobile devices with Truly MinimalTheme, Do Not Sell or Share My Personal Information. Let's first take a look at how the mobile preview in the Post and Page editor works. http://wordpress.org/extend/plugins/mobile-smart/, How Intuit democratizes AI development across teams through reusability. Check other options if needed to find a desired theme. Sorted css conflict with fixed elements with the mob menu, New! Above the mobile view of your site, youll see some additional options. Decode the URL Hash so it can be handled by Javascript. You should not use empty rule declarations (located under body rule in CSS). Enable Cache ON This is the final step required for enabling the caching functionality of the plugin. WP Mobile Menu is the best WordPress responsive mobile menu. Change code that only worked with PHP 7.4, Improvment! Some solutions allow you to create an entire mobile website, while others adapt your site features, so they're easier for mobile users to see. im trying to follow your code but its not working on my side. * @link http://codex.wordpress.org/Plugin_API Display Type, Slideout over content, New! I am stuck at the last part. Download and install the .zip file in the WordPress plugin page of your website, For help setting up and configuring WP Mobile Menu check our documentation. Hi Yimika, So far I have found myself struggling with Some basic tasks e.g. Method 1: This can easily be fixed by going to WP admin > Elementor > Tools > Regenerate CSS. For desktop users, the WordPress for Mac download is free. This will immediately adjust the size of the . Next, you need to right-click on the page and select Inspect.. Mobile Smart is a powerful WordPress plugin that allows web developers to set up a truly smart mobile-optimized browsing experience for their viewership. It will help to resolve your issue more quickly. WordPress Development Experts, Custom Plugin Solutions, Magento Ecommerce Solutions, User Experience Design and more.. We take a lot of effort in every theme we develop to ensure that it best suits the client needs. Identify those arcade games from a 1983 Brazilian music video. Let's discuss theme first, if its responsive theme, then it surely will change the layout of site and even might miss some div blocks. Use (Or Create) A Responsive WordPress Theme If you've recently installed a new WordPress theme, there's a decent chance you're okay in this department. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide, My Requirement is to Have Responsive page with link at bottom "Desktop Page View".. Clicking that link, my page content should display like Desktop page. After the final editing and plugin settings for the website, I would like to know if there is a way to force desktop view on mobile. With that disabled, your visitors on tablets and phones will see a very similar view to what someone on a desktop/laptop computer would see. /** IOS issue when clicking outside the menu papel to close the panel, Fix! After you click on the WordPress Theme Customizer and open it, you will see all the options in the left-hand menu. Center images inside the menu panels, New! On mobile devices, these should ask for minimal information, ideally just an email address. Go to appearance > themes and check oceanwp child theme is active or not? Goodmorning To answer your question more directly, it's difficult. Like @jonharari, I am very keen to be able to enable mobile users to connect directly in the browser. Buy WPtouch for $79-$360/yr* 2. Left padding on container when content of the article goes past the fold, CSS Content Text disappeared but works on mobile, when I change the style of an element outside of @media, it also changes inside of @media query, The difference between the phonemes /p/ and /b/ in Japanese. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. vegan) just to try it, does this inconvenience the caterers and staff? Superfly is a mobile-responsive wordpress plugin that makes your navigation menu responsive, too. return false; Hi Rohan, can you help me? Thank You very much for helping us, I am having a problem also with desktop versus mobile view. Bonus: Check out our pick of the best business phone services, so you can add a click to call button for mobile users. // Dynamically get version number of the parent stylesheet (lets browsers re-cache your stylesheet when you update your theme) With WordPress for iOS, you have the power to publish in the palm of your hand. How do i force desktop view on mobile devices with Bootstrap? Remove the loop to find CSS fields and go directly to the custom CSS option, Improvment! MobiLoud's WordPress plugin allows you to manage everything from the WordPress backend. If so, how close was it? hello.nice article youve put up.. Im having this challenge.i use two themes one for mobile and the other for desktop but when i visit my desktop via site.com/?nomobile it shows the desktop theme alright when i try reading any post it redirect to the mobile view of the post..any fix for it please?? Wordpress site still shows in some mobile mode. Please note GitHub is not a support forum, and issues that arent properly qualified as bugs will be closed. Fix! Works with all WordPress responsive themes. If you want to using this now (note that it will only work on Android) you can do it like so: If you are self-hosting your own Jitsi-Meet instance: edit config.js and set disableDeepLinking: true, If you are using meet.jit.si, you can craft a URL like so: https://meet.jit.si/YourMeetingNameHere#config.disableDeepLinking=true Autoclose opened submenus when opening a new one, New! The cost (simple, predictable monthly pricing models) and time to go live (2-3 weeks) is far better than you could hope for by hiring a team of developers to build your app from scratch. 4 Answers Sorted by: 43 You just need to set the Viewport <meta name="viewport" content="width=1024"> Instead of this (Responsive version) <meta name="viewport" content="width=device-width, initial-scale=1.0"> Look at here. i am failed to setup this process. To allow the user to switch back to the mobile version, your jQuery (in myCustomFunction) would have to be updatedas follows: Note that there could be a scenario, that you might still not notice any changes. rev2023.3.3.43278. Fix fonts issues that werent being applied, Fix! here is the site uhappyevents.com no error but not displaying desktop version, function myCustomFunction() jQuery(#viewDesktopLink, #viewDesktopLink1).live(click, function(e) {, // set viewport content width Also note I'm on mobile. I've followed along some YouTube videos, built some pages, deleted them, imported themes and tried editing them etc. Can you provide me with a link to your site? Do new devs get fired if they can't solve a certain bug? Any idea why that could be? 5. https://meet.jit.si/YourMeetingNameHere#config.disableDeepLinking=true, https://github.com/jitsi/jitsi-meet/labels/browser-support. I want the desktop view on all devices, even mobile. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. The user can change the setting on their phone to view the desktop version of the page, but we just want the video to be accessible to mobile users through our website and not through the Jitsi mobile app. { Font and color settings to the before and after menu icon text, New! By following the same principles here, while developing a theme, we have to understand the importance of the Viewport meta tag. Acidity of alcohols and basicity of amines. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Why is this sentence from The Great Gatsby grammatical? I would like to force the desktop version of my blog on mobile devices. Get help with WordPress.com, the free blogging platform, and the WordPress.com apps. Connect and share knowledge within a single location that is structured and easy to search. I switched to desktop mode user agent on my phone with no success. A great way to create mobile-specific popups and lead-generation forms is with OptinMonster. Get Started with SeedProd Today Note: To use SeedProd's website builder feature, you need a SeedProd Pro license. I am totally new with WordPress and not knowledgeable with CSS or editing a theme on Editor. How Intuit democratizes AI development across teams through reusability. jQuery(viewDesktopLink).text(); this is exactly what I need. When you visit that subdomain on a phone, it will show the full desktop version. Event binding on dynamically created elements?