Questions tagged [responsive]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Menu created using Foundation stopped working

For some reason, the "menu" button using responsive 400px on https://www.starsdrivein.com stopped working. It supposes to open in accordion after clicking on it. Any idea how to troubleshoot the ...
1
vote
1answer
17 views

Why does my caroussel gallery do this in responsive? [CSS]

I do have a photo Gallery on my site, on laptop it works perfectly, but on mobile view, the pictures 1st display well, and after a scroll, becomes very big & blur. you can see on : [hidden ...
0
votes
0answers
17 views

How do I make my products on the homepage responsive?

I am working in twenty seventeen theme. I have added products on the homepage using woocommerce's Products by category block. I first set the number of products per row to 4 products it is displayed ...
0
votes
1answer
15 views

Wordpress 5: including larger thumbnail image sizes in srcset than I have set

I have set image sizes in my functions.php, such as add_image_size( 'article-lede', 500, 600 ); It shows up in Regenerate Thumbnails, and I regenerated them. So I upload an image to the media ...
0
votes
0answers
16 views

Twenty seventeen header is not responsive

Hello the header of my Twenty Seventeen website is not responsive: when I open the site on my mobile phone (vertical view) the image is cropped. When in horizontal view everything is ok. All other ...
0
votes
0answers
9 views

Srcset doesnt show at all in my wordpress images

I have added 10 image sizes: add_image_size( '1920', 1920, 384, false ); add_image_size( '1600', 1600, 320, false ); add_image_size( '1536', 1536, 307, false ); add_image_size( '1440', 1440, 288, ...
0
votes
0answers
20 views

How to center entire columns on a page, and have it stay responsive?

Page in question: https://princetonfireandsafety.com/contact-info/ I just want the two columns to be centered in the page (but the text left-aligned still). I would prefer to use the columns block ...
0
votes
0answers
14 views

Mobile responsible woocommerce product page

Dear Stackexchange community, I'm currently working on a Woocommerce / Wordpress project and there's something I can't figure out how to do. I couldn't much info online about my issue: When looking ...
0
votes
1answer
12 views

Disable rendering of objects on mobile/above certain screen resolution

I have two sliders (Revolution Slider on WordPress), one for desktop and one for mobile. The desktop slider is currently set to disable completely on browsers below 1199px. This is a Revolution Slider ...
0
votes
1answer
25 views

New Styles Not Rendering On Mobile Phone and Tablet

I've come across a rather interesting problem and I'm completely baffled. I've never encountered this before in the past. My Goal To make a form on my website mobile responsive Problem Absolutely ...
0
votes
0answers
26 views

Add file extension to function wp_get_attachment_image_srcset()

The function wp_get_attachment_image_srcset() delivers the srcset information of an image. Is it possible to write a seperat function to add an additional extension (.webp)? Output of the function ...
1
vote
1answer
26 views

Mobile issue – website isn't properly detecting screen size [closed]

my question concerns this website (currently on my staging server): https://sunstonebookkeeping.markhannondesign.com The theme is a child theme of a parent theme I created with Underscores and ...
0
votes
0answers
30 views

How can use wp_get_attachment_image_srcset for WebP?

I want to serve both JPG and WebP versions of the images.
0
votes
0answers
24 views

How Get rid of srcset on a image size and force the size on all screen?

I recently figured out a huge problem for images on my site. I recently disabled all the WordPress image sizes (thumbnail, large, medium-large) except for the medium size. Now I only have medium and ...
0
votes
0answers
10 views

WooCommerce sorting-order in responsive layout wrong

I have a problem with my main WooCommerce-Shop page: I have 6 products in it, which should be sorted by names as follows: 1, 2, 3, 4, 5, 6 This works fine on a PC or Device with a large display width (...
1
vote
1answer
116 views

Fallback for missing srcset images

I'm trying to optimize responsive images on our site. We use WordPress. Not all image thumbnails are generated because of aspect ratio needs to be proportion to the original image. Some of our images ...
0
votes
0answers
36 views

Is it possible to remove original src from wp_calculate_image_srcset() results?

Was just wondering how one could load a custom srcset stack. I know the srcset loads all registered sizes so I'm good on that side but I cannot find a way to remove the original src from there without ...
1
vote
0answers
28 views

max_srcset_image_width doesn't work as intended

I register a new image size in my theme, i.e: add_image_size('home-slide', 1500, 756, true); and I set the maximum size for the srscet attribute of responsive images to 1024: function ...
0
votes
2answers
72 views

My website is not responsive on mobile devices

I'm building a Wordpress website at http://xscoder.com/wp-demo/test/ I am not able to make it responsive, although all CSS and JS scripts are successfully loaded, as you may see in the Inspector. I ...
2
votes
2answers
1k views

Wordpress Gutenberg Embed Blocks Are Not Responsive

I'm building a custom theme for a client's website and want to allow them to use embedded content in their posts (Youtube videos, Facebook posts, Twitter feeds, etc.) Typically, I've taken to severely ...
1
vote
1answer
63 views

Responsive 2 column staggered layout client expectations vs reality problem

In a bit of an urgent bummer at the problem, we developed and delivered a Wordpress site with blog post layouts that are split in 2 columns via Gutenberg built in columns, on desktop, the site appears ...
0
votes
0answers
15 views

Responsive Images - Defining

I am relatively new to working on themes with WordPress. I am wondering how I can change the responsive looker for images based on the screen size. I want to be able to change the min-size with @media ...
0
votes
0answers
23 views

Show desktop screen for tablets (using Elementor + Bootstrap + WordPress)

I am working on the website www.unityinfinity.com/ui The website shows the tablet view from 768px to 992px. I want to show the desktop view on tablets by default instead of the weird screen that is ...
0
votes
0answers
10 views

How to add responsive image support for imported posts?

The images are called using standard html with only an image class and source and all images are attached to the post. The image sizes have been generated, but I don't know how to call them. I can ...
0
votes
1answer
35 views

Menu toggle bar works only on some pages in WordPress

I'm using a custom WordPress theme extended from Twenty Sixteen for this website. It is using Bootstrap (I had to migrate a static Bootstrap website to WordPress). If you open the website on mobile, ...
0
votes
3answers
35 views

Title has word broken when viewed in mobile [closed]

I am designing a website using the Renden Free theme, and my problem is that some long titles, when viewed in mobile, have words broken in half. For example: As you can see, the word "Corporal" gets ...
0
votes
0answers
174 views

Multiple responsive Bootstrap carousels via shortcodes

I'm writing a shortcode to display responsive Bootstrap carousels that adjust column numbers according to browser width. It works for a single shortcode, and responsively adjusts as follows: However,...
0
votes
1answer
123 views

add class to all images inside the content

I have a function like this : function add_responsive_class($content) { $content = mb_convert_encoding($content, 'HTML-ENTITIES', "UTF-8"); if (!empty($content)) { $document = new ...
0
votes
1answer
45 views

Menu is in Reversed order

I cannot seem to figure out why this menu is in reversed order only for Mobile. site-navbar.php <div class="menu-container"> <div class="menu w-full mx-auto container xl:pr-16"> ...
0
votes
0answers
116 views

Wordpress Toggle Menu has stopped working

I am using the twentyfifteen theme on my wordpress site. When you access the site on mobile or resize on your browser so that the page height > width, a hamburger icon appears on the upper right. I ...
2
votes
1answer
732 views

wordpress responsive image srcset not working

I'm trying use wordpress core responsive image feature but it's not adding srcset to image. Here is th my codes I have a div w=370px h=280px now I added image sizes if(function_exists('...
0
votes
1answer
734 views

How to Make Wordpress Default gallery responsive on mobile?

I have read about the subject in many blogs and forums but I have not achieved anything. What I would like to do on my page is the following: decalaveras.com On this page, when accessed from mobile,...
0
votes
1answer
10 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
1answer
58 views

How to accept images at multiple sizes and aspect ratios and display as standardized image size / ratio?

Lets say I accept guest post submissions. On the post archive page I have the image the user uploaded with the post on the left and an excerpt of the post on the right. Unless I programmatically ...
0
votes
1answer
42 views

Change Responsive Images Maximum Width of 1600px

Sorry for my English first. Just started with responsive Images and read https://make.wordpress.org/core/2015/11/10/responsive-images-in-wordpress-4-4/ So according to this post, there is a maximum ...
0
votes
1answer
796 views

Responsive Featured Images Not Working

Perhaps I am misunderstanding (likely) but I am trying to use TwentySixteens method to try and make the images I upload through WordPress responsive. I have only barely modified the code, but no ...
0
votes
1answer
250 views

How to edit embed filter for youtube video to allow responsive full width layout

Im trying to edit the suggested embed filter from wordpress.org to make youtube videos always stay 100% width inside its container div, while keeping the appropriate height dimension as needed. Is ...
1
vote
0answers
17 views

CSS: How can I show a photo beyond the template's column, but contained within the browser window? [closed]

I'm stuck with a CSS issue and hoping someone knowledgeable can help. I have a nice responsive template that I'm trying to customize with this one tweak, but I can't figure it out. My site is a ...
1
vote
1answer
49 views

Best practice for query_posts in responsive design?

I'm working on a responsive design desktop/mobile but I have a doubt regarding PHP calls, as the hosting provider didn't like high cpu usage. In the loop query I have something like this: <?php ...
1
vote
0answers
279 views

ACF Wysiwyg Editor Image srcset for responsive images [closed]

I cannot find a way to generate srcset for images added inside Wysiwyg Editor field of Advanced Custom Field (ACF) plugin. Obviously, i know how to generate WordPress image srcset using: ...
0
votes
0answers
185 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
33 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
37 views

Getting extra image links in code with wp_get_attachment_image

I am using ACF to add image fields to some posts and returning the Image ID so that I can use wp_get_attachment_image to get responsive images. I have defined 960 and 1920 as the medium and large ...
0
votes
2answers
189 views

Adding srcset to an image in ajax

I have this line of code : $out .= get_the_post_thumbnail('', '', array( 'alt' => the_title_attribute (array('echo' => 0) ), 'class' => 'img-responsive', 'srcset' => ...
1
vote
2answers
355 views

Video to stretch across the entire homepage [closed]

Where could I find a framework for a homepage where I can have an HTML video stretched all the way across (to a certain max resolution would be fine, like max-width: 2500px or something)? I am using ...
0
votes
2answers
100 views

GIF featured image is resized on server but not used in frontend. Why?

I use a very basic setup of twentyseventeen and die most recent wp version. When I upload PNGs or JPGs they as a featured image, they are saved as a resized version on my uploads folder and used on ...
0
votes
1answer
29 views

built-in responsive images in content - do I need to add anything to functions.php?

I am making a WP theme from scratch and I don't seem to get the responsive images working. An image that's inserted at 500px will stay at 500px even though srcset and sizes tags are added. From my ...
0
votes
1answer
489 views

How to select which thumbnails sizes are displayed in srcset

I know that Wordpress has its way of letting the browser decide which image to download depending on the viewport via the srcset. I also know that I can use the_post_thumbnail function and specify a ...
1
vote
2answers
688 views

ACF Plugin - Random Gallery Image with wp_get_attachment_image()

I’ve found others (source 1, source 2, source 3) using the following code for displaying a random gallery image (and it works) with the ACF Plugin: <?php $gallery = get_field('images'); $rand = ...
0
votes
2answers
2k views

How to exclude an image size from the Wordpress srcset

Wordpress srcset is a great feature but there are occasions when it's important to control exactly which image sizes are included in the srcset code. For example, on one of our sites we generate a ...