Sub menu indicator that links to sub menu
Sub menu indicator that links to sub menu
Sub menu indicator that links to sub menu
This is more of a bandaid, but it’ll work for my project. I noticed this behavior seems to be related to the duration of my podcast exceeding an hour – and seems to be isolated to just mobile browsers. So, what I did was just hide the overflow (which may not work for everyone): /* … Read more
Browsers which understand the srcset attribute will automatically choose the image which corresponds between the defined sizes and available space. Most of modern browsers support this, older browsers still found in the wild will gracefully fall back and simply use the image linked in the src attribute. There is no additional Javascript needed to activate, … Read more
According to codex, wp_is_mobile(); is a boolean function that returns true if the user is visiting the website on a mobile device, so what you need is: if ( wp_is_mobile() ) { // Run this only for mobile visitors add_filter( ‘wp_nav_menu_items’, ‘B_function’, 10, 2 ); function B_function(/* add B */ ); } else { //If … Read more
Is there any mobile application for WordPress? [closed]
Scaling images for mobile
Your primary menu container is set to left: 5000px; witch stretches the width of the page. You can find this style directive in …themes/sunstone-bookkeeping/css/mobile.css on line 66. @media screen and (max-width: 600px) .nav-menu { position: absolute; left: 5000px; } One way to fix this is to add the following styles to the parent element: .menu-menu-1-container … Read more
I figured out a “down and dirty” fix in the theme code. This will be overridden when you update the theme so you’ll have to do it again at that time. themes/Divi/includes/builder/scripts/frontend-builder-scripts.js Lines 1316 – 1330 if ( et_is_mobile_device ) { $( ‘.et_pb_section_video_bg’ ).each( function() { var $this_el = $(this); $this_el.closest( ‘.et_pb_preload’ ).removeClass( ‘et_pb_preload’ ); … Read more
Multiple amp-image overlays. How to properly do this in wordpress?
Only column gallery on mobile device