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 “Insert/Edit link” button in custom popup tinymce window?
- Add button to TinyMCE bar without creating a plugin
- How to add multiple buttons to TinyMCE?
- How can you change the ‘Insert into Post’ title in the media button?
- Add Button To Top Toolbar in Gutenberg
- TinyMCE Anchor Button not showing
- Adding submit or update button to custom metabox?
- Hook and send Woocommerce data after click Place Order button
- Adding TinyMCE custom buttons when using teeny_mce_before_init
- how to grab first link in post… and of course call it
- Quicktags on all textarea.. Not working on plugin?
- How to create a link to jump to “Leave a comment” part?
- How can I add buttons to a custom column in the taxonomy table?
- Displaying a button on each post
- Using Multiple Submit buttons to trigger customised php functions
- Login Button CSS
- Gutenberg Button Border Radius Default
- Insert a button on a page with random number generation
- How to make a search button that will search my website?
- Paginated Posts – Social Media Buttons Share First Page URL
- Firefox CSS Animations Broke [closed]
- Change “add to cart” button color based on Woocommerce product category [closed]
- Add buttons to the new TinyMCE WP Editor. Javascript API
- It is possible to add extra button under the ‘publish’ button in the post of wordpress? and how?
- show/hide div with simple jQuery script [closed]
- Open ‘View Page’ Button in Editor in new Tab
- “Loadmore” button is not working in buddypress [closed]
- Change the text of the publish button to Save
- Adding an Archive button to posts page for administrators
- How to edit the default icon of Add Media button?
- wp_update_post onclick button using ajax
- Add Ajax to rating button
- adding a button to the media uploader
- Skewed / slanted button within elementor [closed]
- Cannot changing login button color, have tried theme, plugins… is it GoDaddy managed?
- Add to Cart button displaying twice on Shop Page Woocommerce
- Menu toggle bar works only on some pages in WordPress
- Edit value=”” of a button in child theme
- add share buttons above my posts without plugins
- How to dynamically add the the input text field in widget?
- Generate Own Custom CSS Button with icon
- Create special button on WP Tiny MCE Posts Editor for Shortcodes
- Putting a space between the buttons [closed]
- Share buttons Facebook Twitter, just like wordpress.com without webservice
- Adding a Media Button to the WordPress Content Editor
- Upload PlugIn Button is missing
- Add two button to page and post admin to redirect to : add new & list of (posts – pages) just after saving post or page
- Change button link to add nonce
- How to display strikethrough text in button text (for special offer)
- Redirect from wp-admin back to page
- Call to Action Button – Resize Help [closed]
- How to properly hide the div of an inline collapsible button?
- How to add contact seller button in product page
- Add Cancel Button to a Custom Meta Box
- How to add a new button on post
- how to send two forms with one click (script ninjaforms id)
- Show only content in page after action click in WordPress admin
- Auto-generated excerpt with shortcode and read more button/text link
- How to display a page dependent on a url parameter supplied by a form/button page?
- Hide download button from audio player
- “Listen” button on my main post page
- excerpt button not going to custom post page
- Custom button on custom taxonomy listing page
- Add Flatr button to Sharing option
- WordPress Settings – Custom Button actions
- Make a button change meta_value
- Display multiple “save draft button” on a post edit
- jQuery to Create Button to Show/Hide WordPress Comments and to Hide Comments by Default
- static page with buton that opens collect email form
- How to insert image from link in TinyMCE
- Woocommerce – Remove ‘Buy Product’ Button + Make Product Thumbnails Clickable
- how to get rid of header banner buttons on child themes [closed]
- Tried everything but Facebook share button won’t load the post thumbnail
- Button generate a random URL [closed]
- Woocommerce – Remove ‘Buy Product’ Button from shop page [closed]
- Download button under all images WordPress
- Remove Gutenberg Buttons Block
- How can I make one button a different color from the other buttons on my site?
- how can I remove all default settings in Gutenberg blocks? example core/button
- What’s the best way using vanilla js to force confirmation on publish button?
- button onclick with get_post_permalink