You just need to add media queries for mobile screens.
Add CSS in the stylesheet.
if you want globally add this:
@media only screen and (max-width: 600px) {
#pl-2040 #panel-2040-4-0-0, #pl-2040 #panel-2040-5-0-0 {
margin: 0;
}
}
If you want to implement only on the homepage try this:
@media only screen and (max-width: 600px) {
.home #pl-2040 #panel-2040-4-0-0, #pl-2040 #panel-2040-5-0-0 {
margin: 1cm 1cm 1cm 1cm;
}
}
Related Posts:
- How do I stop a widget from displaying on mobile site?
- How do I add a widget from an Android phone?
- Remove widgets on mobile front page without affecting desktop
- Sidebar widgets are over the content in mobile mode, how can I fix it? [closed]
- How can I use the built in WordPress “browse link” functionality?
- Code for Recent Posts Widget
- Modifying the default search widget
- Prevent widgets removal
- Is there a way to add more tags to the tag cloud?
- How to build widget with arrays inside arrays?
- How do I save data from submitted form from widget
- Why Can’t wp_editor Be Used in a Custom Widget?
- Add div class to only one widget
- How to use control_callback when creating a widget via functions.php or plugin?
- Disable default WordPress widgets in sidebar
- Updating to Version 4.5 bumped my “main sidebar” widget out of place
- How can I delete all inactive widgets?
- Call sidebar from a template
- Adding classes to dynamic sidebar
- Need help adding additional controls to a custom widget
- Why do none of my widgets have a title?
- Where are widget configurations stored?
- Adding a widget to a string of HTML
- How to add a class to a link in text editor
- WordPress widget new instance creates content duplicates
- Remove/Unregister or hide a widget added by a plugin
- Check if widget is active
- Radio buttons in widget not saving
- How to check if a widget has no title
- AJAX Contact Form Issue
- Including PHP files doesn’t work outside of Localhost
- Display sidebar only if it has content
- Post-specific widgets in WordPress ‘Twenty Fourteen’ theme
- Excluding specific widgets from default sidebar class
- How to truncate titles in Recent Posts widget?
- Can WordPress Read Its Own RSS Feed?
- Can’t see widget areas in my customizer
- Debug errors on sidebar
- Dynamic sidebar based on category
- Widget textarea input gets formatted
- Show widget differently depending on if it’s in the sidebar or footer
- Get posts after today (upcoming events)
- How to pass data from page to widget functions?
- Adding a rich text editor to a widget – specifically CKEditor
- Is it possible to display tag cloud widget by category?
- Widget page is missing from menu and default widgets are not showing
- wp_editor in widget breaks after save (no buttons and visual tab broken)
- How to use a dropdown to populate a list of post from CPT
- Allow shortcode for custom widget
- Registering a stylesheet inside my WordPress widget
- is_tax() not working in Widget Logic [closed]
- How to position custom dashboard widgets on side column
- One register_sidebar function works, the other doesn’t?
- What does apply_filters() do exactly? [duplicate]
- How do I remove/reset all current widgets from the database?
- what is the difference between these two types of widget form method
- Change Woocommerce Product Categories Widget ‘Title’ based on Product Category
- Why isn’t my custom widget outputting any content?
- Make single widget area top level in 4.0 Customize Panel
- Sidebar widgets – dynamic CSS : problem with widget-title
- widget not displayed
- Dynamically creating multiple widgets from Mustache templates
- Jquery checkbox -show posts with checked tags
- changing the style of sidebar
- Vimeo Feed gived dead link with RSS widget?
- Preset Widgets ONLY after site is initially created
- Is it possible to add a preview to custom developed Widget?
- How to enable [archives] short code
- How to change widget title in wordpress version 5.8.1?
- How to update a widget data?
- An archive widget, coming from nowhere on my posts and pages
- custom widget not saved to sidebar
- When editing in block editor, the post/article gets under the floating widgets
- Recently changed domain name. Home page widgets are now not in the customize menu yet still being on the page
- Make widget with media upload repeatable
- Is it possible to dynamically output the name of the widgets?
- How can I write this code snippet so that it echo’s the response when submitting empty fields?
- What is the difference between widget object and widget instance?
- Apply two different styles to Wiget Titles along with a decorative line
- Widget text color change
- Widget to embed youtube video
- Can I use wp_widget_rss_output to show my site’s feed in the dashboard?
- How to make featured area?
- Checking if widget has title not working
- wp_list_categories + widget
- How can I add widgets to the category page?
- Remove default WordPress widgets
- Disable wordpress widget automatically on error
- Can I add a widget to the of my site?
- Widget dynamically add new input field
- How to show widget in frontend?
- How do I stop out of stock items from appearing on my WooCommerce site when using the Layered Nav widget [closed]
- Single Widget Multi Sidebar
- An issue with register_sidebar and the admin interface
- page url in shortcode
- iframe/embed vid in text widget loads outside container and moves around when scrolling the page?
- Widget on home page displays wrong time compared to same widget on inside pages
- Widget logic not working
- Widgets in PHP files?
- Sample widget code which get data(1-5 record) from Wp_Admin panel and display to Homepage(WordPress Custom Theme)