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

Questions tagged [mobile]

The tag has no usage guidance.

0
votes
0answers
5 views

Reorder Product Summary WooCommerce on Mobile Only

so I know how to reorder the summary information on WooCommerce. But let's say I wanna reorder the items only on mobile, any ideas? I've been stuck for the last 2 days and I have no clue at all how to ...
0
votes
0answers
14 views

Show excerpt only in mobile

how can I set my theme to show excerpts instead of full posts in the homepage only if the site is viewed by mobile?
0
votes
0answers
24 views

Wordpress on mobile devices with new data after updating page

I work with a site where a weather report is displayed on the page. With each page refresh, some data changes. But no on mobile devices. Plugin for caching is disabled. There is a suspicion that this ...
-1
votes
0answers
11 views

Alter viewport values

I need to alter the viewport values with my child-theme. At the moment there is <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> but i need to ...
0
votes
1answer
22 views

Serving a custom featured image for mobile

is it a good approach to serve multiple featured images to have a proper scaling? Right now the featured image size on "Desktop" is up to 1140x250. Pretty wide and will shrink way too far on "Mobile ...
0
votes
0answers
10 views

Static page in desktop and blog page in mobile but have the same url

I don't know if my title is well constructed but what i'm asking is: I want to use two different themes on my desktop and mobile wordpress blog. One for desktop and the other for mobile. But i want ...
0
votes
1answer
40 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
41 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
20 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
8 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. ...
2
votes
0answers
22 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
31 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
46 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
53 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
28 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
21 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
163 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
113 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
321 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
760 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
198 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
149 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
31 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
49 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
88 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
465 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
423 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
1answer
2k 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
55 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
130 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
244 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
361 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
259 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
618 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
77 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
72 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
60 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
417 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/...