CSS would check the width of the screen, and (if small enough), change the display of the picture to block. As taught by W3Schools …
<style> .the-image, .the-price { display: inline-block; } @media only screen and (max-width:600px) { .the-image { display: block; } } </style> <img class="the-image" src="https://wordpress.stackexchange.com/questions/367889/..."> <div class="the-price">...</div>
Related Posts:
- How do I programatically empty trash?
- Primary and Secondary Button Classes
- How to insert a Button or custom text on twentyseventeen header
- Override admin submit_button() functionality
- Remove “Save draft” button without using CSS
- Download a file and scroll to bottom div on button click
- Remove Save Draft & Preview Buttions.. and also Statius: Draft & Visibility: Public
- Add multiple custom buttons with custom links after add to cart button for every product
- Loading elements with a button
- How can I center the “Buttons” in the WordPresse editor?
- Add button to menu item at the same row
- NavBar Button Clicks (need 2 clicks rather than 1 click)
- Using button from the function submit_button() triggers alert
- Create Button Using Provided Code
- Back button to previous page and breadcrumbs
- Button to execute shorcode [closed]
- PayPal buttons not working after 4.2.4 upgrade
- Button not working?
- submit button not work
- How to add a button to custom post type’s posts-page
- TinyMCE Anchor Button not showing
- Remove border radius setting from the Gutenberg button block?
- Editing Screen: Make Update or Publish Button Follow The Page
- Custom “Publish” / “Update” button &
- How to Make admin Sidebar Menu always be Collapse by code
- Quicktags on all textarea.. Not working on plugin?
- What Can I Use To Add A Custom Button Between Publish button and Move To Trash?
- WYSIWYG – Getting the “link” button from HTML mode in Visual mode
- How to remove buttons from gutenberg toolbar
- Display “add to cart” button on every listing in product category page?
- Adding another “Add Post” button to admin
- How to align a single Gutenberg block button in WP 5.5.3?
- How can I create custom button in post.php
- Help add ajax load more button
- How to use radio buttons in WordPress plugin options using register settings?
- Custom button block doesn’t work
- How to load javascript file on homepage in WordPress in order?
- Creating a Link Text like Submit Button in Admin Page
- CSS style button For WP Login Function in page template
- Adding TinyMCE buttons without removing plugin buttons?
- How can I center Gutenberg buttons on mobile?
- One button on admin page works but not two
- Change “add to cart” button color based on Woocommerce product category [closed]
- Add multisite switch button. Click to switch to other page in same admin area
- How can I implement shortcode on click event
- Why my image upload button is not working in wordpress widget area?
- Add custom button next to native “Apply” button in the edit-tag screen
- Ajax Button to load more Posts into a timeline
- Permalink doesn’t get displayed in Twitter button (Local WordPress problem?)
- Cannot enqueue jQuery correctly using Google CDN
- AJAX button action in foreach
- element not working in Safari [closed]
- WordPress comment submit button substitutes/options
- Function won’t run onclick using Ajax
- How to remap one of the TinyMCE Advanced Editor button to open the wordpress media library?
- Page access only from a specific page in wordpress website
- Divi theme: change overlay color from default blue to back [closed]
- Convert to shortcode?
- How to add custom ‘layout’ buttons to wordpress editor?
- Disable submit button order
- TinyMCE: Move buttons from 2nd row to top row
- Insert media button will always add into the same tinyMCE editor
- wp_enqueue_script() not working
- How to create social Share Buttons Without Plugin
- how give a link to an Elementor Pro widget with variable part
- Button writing to MYSQL database
- Gutenberg button removed on save if its empty
- Wordpres Tinymce custom button (Gavick guide)
- Send an e-mail on address with the link with disliked post
- Edited one page in my working menu and now all menu buttons don’t open unless I right-click and open in new tab
- Hide ‘add to cart’ when certain value in dropdown is selected
- Best practice to call a function from a button-link?
- Placing Lock Icon on WooCommmerce “Place Order” Checkout Button (WordPress ‘ignoring’ Changes…)
- Go back to the exact post page number
- How can I change page content for good once a button is pressed?
- Menu with sub-items but without link
- How to edit button permalink inside function.php using a child theme?
- Why are my button images blurry on mobile screens?
- How to execute certain code on back-end button press?
- Create Button for Shortcode in Text Editor
- creating different style CTA button in the menu
- Creating a simple button inside of a widget
- How to create 2 preview button in a post?
- wp_editor customization
- Eliminate menu collapse button on website
- Functions are causing errors
- How to include backend buttons css on frontend?
- Customize TinyMCE Buttons
- Change text “My Basket” in woocommerce artificer theme
- Use radio buttons & checkboxes for post categories
- wordpress radio button on single post page
- just show the field comment by clicking button
- Rename woocommerce button [closed]
- A conditional button
- How to display a submenu as a popup when clicking a button?
- Add new MCE button for toggle specific cell background color
- Simple Share Buttons Add Plugin and Custom Post Type
- Facebook redirect buton
- add button to tinymce
- Remove Gutenberg Buttons Block