Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
0answers
12 views

How to remove duplicated Menu in mobile version of website [on hold]

I spent the past 3 days trying to figure out the solution of this problem, please, I really need you help. Here is the Problem: The menu work just fine in desktop version, however, when I visit my ...
0
votes
0answers
22 views

How To Display Post from Multiple Categories In Carrignton Mobile Theme [closed]

Hello Guys Am Trying to Display Posts From Different categories on my mobile site Home Page But I end Up breaking my site With Wrong Code This is My site https://bazenation.co/ This Is What I want ...
0
votes
1answer
23 views

Make CSS Changes To Only Affect Mobile Browser [closed]

Trying to make some CSS changes, that will only affect view on mobile phones. I made changes below, but it also affects desktop views. nav { margin-top: 140px; } & ownmenu { background-...
1
vote
1answer
33 views

Https Redirect infinite loop in Mobile browsers

I have recently installed SSL on my website and made some changes in htaccess to rewrite http to https routes. It is working perfectly fine in desktop browsers but not in Mobile browsers. Not sure ...
0
votes
0answers
10 views

wp_audio_shortcode() isn't working on mobile devices

I use following code for showing audio player: $post_id = $post->ID; $file_id = get_post_meta( $post_id, 'sound_s_', true ); $fileUrl = wp_get_attachment_url($file_id); $attr = array( 'src' =&...
0
votes
1answer
19 views

Change menu for mobile

I am working on a WordPress website, where I try to show a different menu based on the device (desktop vs. mobile). In order to do that, I added some code to the header.php file: <?php ...
0
votes
0answers
15 views

Issue with Blog Titles on Mobile

I'm trying to make my site mobile friendly. Everything seems fine until I select a blog post and the navigation bar covers the title. When I inspect it does not let me highlight the code for the blog ...
0
votes
1answer
7 views

Decide how Hero image appears on mobile

I generally can google my way to an answer but I can't for the life of me figure out what this is actually called. I apologize in advance. I have a hero image that looks great on a full-size screen. ...
0
votes
0answers
10 views

heading text not shrinking for mobile

I am using theme Twenty Sixteen and the text is showing up too large on the mobile version of the site. How do I make the text, most importanting Heading 1, reduce in size for mobile version?
0
votes
1answer
23 views

AMP for WordPress - Add Custom CSS? Or Template?

The AMP for WordPress plugin is really awesome. Does anyone know a way of overwriting the templates it uses or adding custom css?
2
votes
0answers
20 views

Mobile menu works on local XAMPP, but not on GoDaddy [closed]

The following problem is confined to mobile views of this website. The non-mobile menu works fine. For the life of me I can't figure out why, all things being equal -- except that my localhost is a ...
0
votes
1answer
27 views

Add href to <a> tag in nav menu for mobile

I have a primary menu which is displayed for desktop <?php //Show the navigation menu wp_nav_menu(array( 'theme_location' => 'primary-nav', 'menu_class' => '...
0
votes
0answers
42 views

Responsive images with srcset

I know I have to use wp_get_attachment_image_srcset but I don't know how and where to put it?Any help <picture> <source media="(max-width: 659px)" srcset="inc/images/...
0
votes
1answer
46 views

Why doesn't the mobile version of my website take updates?

Thanks in advance for your assistance with this! The site I am having trouble with is http://www.howtoimportkit.com I have made several updates to the site that show up fine on desktop, but are not ...
0
votes
0answers
21 views

Adding more than 1 css style to child theme

Is it possible to add multiple css files form mail theme to child? My theme is using style-mobile.css for all things reserved to smaller resolution screens. This is what I put inside functions.php of ...
0
votes
1answer
20 views

Links not showing up on “AMPforWP”

When people go to my webpage on mobile, none of the links work they're just straight text. How can I force my mobile page to keep the links that I have provided?
0
votes
0answers
6 views

AMP Issue with SVG Style

I am receiving an error when trying to convert a post to AMP using wordpress. The error can be replicated by following the below link: Google AMP Tester You should see the following from the above ...
0
votes
0answers
15 views

Genesis Mobile Menu Not collapsing Sub Menu

I am using the Genesis theme for a WordPress site. After setting up the site and testing things, I noticed that when in mobile my sub menu for the nav is expanded but should be collapsed until clicked....
0
votes
0answers
120 views

TwentySeventeen video header mobile button unresponsive

I tried to make the header video in the TwentySeventeen theme available for mobile. The video showed up after adding minHeight and minWidth to the custom-header.php file: function ...
0
votes
1answer
29 views

How can I hide/show text only for mobile users?

I have text content on a page that leads to too much scrolling on mobile devices. I'd prefer to avoid having separate pages for mobile/desktop. Ideally, an editor would add a shortcode around certain ...
0
votes
0answers
96 views

Integrate Twilio sms service in theme functions.php

I am integrating twilio sms service in our website for this in home page. We have a popup from with mobile number input opened by a button. As soon as user enters a phone number I am using an ajax ...
0
votes
1answer
262 views

woocommerce Shortcodes - Change display between mobile and Desktop

Currently, on my website homepage, I am using woocommerce shortcodes to display products from certain categories and have opted to show 5 products on Desktop which fits in well with the screen width......
0
votes
1answer
590 views

Menu Not Showing on Mobile

I am using the latest version of wordpress with the responsive theme. The drop down menu doesnt show on mobile - or when the browser window is very small. Its the drop down menu that is three lines. ...
0
votes
1answer
156 views

Add Button to Bottom of Mobile Menu

How to add a button to the bottom of the Mobile Menu. The way I'm currently implementing it, I'm using the last item on the Menu as my Button(after styling it with CSS) Have made it position ...
0
votes
1answer
97 views

Disable Top Nav Bar on Mobile

I've created a site (www.smartgrowtheconomics.com) using the 2017 theme plus some extra CSS that looks fine on a desktop and tablet, but persistently shows a blue dropdown menu and search bar on a ...
1
vote
0answers
28 views

Scaling images for mobile

I'm feeding a mobile app from WP. I want the images uploaded to be rescaled like x0.5, x0.3 . add-image-size doesn't give me scaling functionality, only resizing by pixel. Any Idea? thx.
0
votes
0answers
22 views

Disable mobile view on custom page

I have a WordPress page. It has a custom template programmed in php. It's id 528. I need a plugin or some kind of code which force disable mobile view on that page because the content looks good but ...
2
votes
1answer
48 views

How Can I Have A URL Changed Based on the Originating URL?

This is a followup to my question, "How can I have two different urls for the same page that load two different templates?" Assuming I implement Milo's answer (registering a new rewrite endpoint, ...
6
votes
1answer
86 views

How can I have two different urls for the same page that load two different templates?

I have the following page: http://liquidchurch.com/messages/ It appears fine on desktop and mobile web. I'm working on a mobile app and using a web view to encapsulate the page within the app. ...
0
votes
1answer
358 views

WP page 404 error only on mobile

I have a page here that's redirecting to a 404 only on mobile. I flushed my permalinks, checked all my plugins, etc. and can't figure it out. Any and all help is appreciated!
0
votes
0answers
29 views

Different Home page for Mobile without changing URL

Hi I am looking for a solution . I want to redirect my mobile user to different Home Page . ie https://example.com/mobile I have created a function in Function.php function ...
0
votes
0answers
343 views

Wordpress template updates not showing on mobile devices

I'm working on a WordPress site and up until today it's been working fine. Now however, when I update the template files and upload them, the changes show absolutely fine on desktop and on developer ...
0
votes
0answers
18 views

How to use wordpress/php to serve different videos based on user device type?

I've got a video acting as background header for my portfolio website. I want to rerender a different version of it for landscape/mobile devices and then serve that version instead, so that I can have ...
0
votes
0answers
213 views

How to stop WooCommerce/Wordpress from resizing a product image?

Good evening, all. We're facing an odd issue where our product images are being resized anytime they're viewed on a mobile device or on a PC if the browser window is made smaller in size, and we're ...
0
votes
1answer
1k views

(Solved) How to add a submenu toggle button inside all “li” elements that have a submenu?

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&...
0
votes
1answer
49 views

deactivate product-page image slider on mobile

I am developing a child theme of Storefront (WooCommerce). In the product page, I display all product images one above the other. But the user can still swype right, as if the image slider is still ...
0
votes
0answers
105 views

Mobile menu not working - jQuery error?

I did some heavy editing to a free Wordpress theme and somehow the mobile menu doesn't work anymore. http://www.liveaerosmith.com I tried to see what the problem was but it must have happened a ...
0
votes
2answers
214 views

Row background image not showing in mobile browser served from wamp local host

I am developing a website using wampserver on localhost and I am trying to view my site on mobile on my local network. I changed the home and site URL in Settings > General from http://...
0
votes
2answers
340 views

Full size image from srcset ALWAYS used on mobile DESPITE setting size of image in editor

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 ...
0
votes
1answer
242 views

use css for resize image into mobile thumbnail

i use a wordpress plugin (Gmedia galleries) to create galleries, i have problem when i set Thumbnail Width Mobile and Thumbnail Height Mobile to 50 because the image is not centered into the Thumbnail ...
0
votes
1answer
566 views

How to add a fixed shopping cart button on the bottom of the page?

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.
1
vote
0answers
26 views

Is there any mobile application for WordPress? [closed]

Can you guys please share your experience with WordPress as a admin panel for mobile apps? Or someone can share useful links for that. Thanks in advance.
0
votes
1answer
33 views

App in wordpress doesnt fit to mobile screen

I have a Wordpress Site where I have added a small html,CSS,Js "BraSizeCalculator" app. When I host this app in a free hosting site (https://brasizecalculator.000webhostapp.com/) it looks fine in ...
0
votes
1answer
75 views

resize chat bar on mobile [closed]

Like in the following picture I would like to make the chat bar on shop pages a bit smaller on mobile devices for this page: ergotopia.de I tried it with this code, which makes it smaller but the ...
0
votes
0answers
17 views

Add audio post from smartphone

I'm working on a personal website for a friend of mine. It's a travel diary and I want to let him add as many post types as possible. I've been able to easily let him add photos and post (of course) ...
0
votes
1answer
45 views

Links open when scrolling on touch devices/mobile

On all touch devices both Android and iPhone and iPad, when scrolling with finger over a link the site opens the link instead of ignoring the press and just scrolling as touch devices normally do when ...
0
votes
1answer
64 views

Display posts on a map

The wordpress mobile app lets you store gps position as option for each post. I would like to have a map that displays a point for each post. I saw a lot of questions about this, most of them are ...
0
votes
1answer
44 views

Open Menu is not working in Mobile view [closed]

my website is www.ukikomerc.com and my open menu is not working in mobile view. I already try to deactivate plugins but still, I have the same problem. Please help.
1
vote
3answers
2k views

detect screen width in functions

I am finding a way to add A before the menu if we are on desktop and to add B if we are on mobile device. As such, this is are my functions for A and B: add_action( 'wp_head', 'A_function' ); ...
-2
votes
1answer
361 views

Navigation menu, remove item from desktop

Using theme (and child theme) of Sailent, I'm trying to work out a way to completely remove a menu item from my navigation bar while on desktop. See site here: http://www.boinginflatables.com/...