As I said in my comment, if 2-1-3 / 4-1-5 instead of the desired 2-1-4 / 3-1-5 is also OK for placement, you can do this quite easily with CSS grid. MDN has a lot of resources about this topic.
Check out this fiddle, where I changed a MDN example a bit to your use case. The magic is here:
.wrapper > #first {
grid-row-start: 1;
grid-column-start: 2;
grid-row-end: span 2;
}
grid-row-start
and grid-column-start
places the element on the grid (and auto places all other elements to fill the remaining space). Then grid-row-end: span 2
tells CSS to make the element span 2 rows.
Related Posts:
- ZIP up all images displayed in a [gallery] and offer as download link
- How to use “Add link” pop up for a WordPress widget
- How to validate XML-RPC post creation and cancel when needed?
- the_author() returns empty string
- Custom Field in Featured image for A particular post
- Custom permalink structure only for default posts
- List latest posts in WP-Admin
- Email admin when post pending?
- How to control which category will be picked for the slug of a post?
- WordPress Number of Posts Not Changing With posts_per_page
- Adding a Nav menu to post admin
- Comments enabled, but disabled at the same time
- Mass Update lines of code for all posts
- set role specific screen options in post summary page
- How to get a nofication when post submitted
- How to link up “read more” on excerpts hack from WP Recipies
- Any idea why wp_insert_post is succeeding but not returning?
- Getting post id from wp_insert_post_data function?
- get custom image size
- Does an article (post) id ever change?
- Lazy Load using WP_Query pagination
- Check is_single() outside loop
- Is there any way to allow users to access content before it’s published?
- Get Posts via Taxonomy Term Name with Space
- Change default Posts page
- Create post for every user?
- Auto “expire” all of an authors posts on spcific date
- How to pass Post_ID variable from theme’s Single.php to custom Plugin using AJAX
- Yearly archive page for future year
- How blog page in WordPress works : blog page retrieve first post ID
- Restrict users post for himself
- Driving a random quote like functionality with database
- Custom WordPress Theme: Publish Date and Display Date for posts right beside each other
- current post with current author
- Addition Text to Post Titles (Custom Post Types) in RSS
- Why aren’t my posts/pages showing up in my WordPress Theme?
- Assign category to new post via URL
- Blog post per page setting conflicting with custom WP_Query?
- Show certain posts in a LIST format that members have been granted access to
- WordPress Rest API Create Post
- WordPress custom Query for Posts in Category display posts multiple times
- performance of post_exists
- Categories list into registration form
- WordPress Local And Live Site
- How do I locate the exact location where this error is occurring 404 page not found
- How would one change the default url structure of attachments?
- Use two different post_per_page limits with infinite scroll
- How do I manage my users post before publish?
- Posts vs Pages and categories
- WP move posts to different path
- getting “Object of class WP_Post could not be converted to string” – when it is a string
- Only show featured image on first page of paginated posts
- Exclude some categories from listing on the current post
- how to set social icons to product / post template (Auros theme)? [closed]
- restrict incrementation of post vies count when refreshing the page
- how to give multiple post thumbnails to a post
- Change the color of the Password Protected Post titles
- Can’t update WordPress Page if post_content is Empty
- How to show different timestamp
- Why aren’t paragraphs breaking on this page?
- list posts from two categories on a page – plugin not working
- How to add a post class on every post. (on homepage)
- Get posts from current category?
- Archieve page, Advertisement Every 3 Posts
- How do I get the image that is submitted with a post, when I’m in the loop?
- How to output all taxonomy links from a custom post type in a menu?
- Separate blog and reviews categories
- Return records between two meta datetimes saved as strings
- Why is it recommended to insert JS through the theme, plugin, etc rather than in the post directly?
- Cannot create new posts or upload images using media manager
- How can i showcase all my galleries?
- Rewrite image links from attachment id to attachment link
- How do I change the template specifically for single posts?
- I want to add the 10 most recent posts under a parent category on the main menu
- Auto inserted strange characters in wp post
- WordPress rest API get Posts parent by post ID
- Change the size of the featured image for post?
- Set featured image as hero image on each page
- Comments are in database, don’t show up in WordPress backend or frontend
- Many buttons not functioning in WordPress dashboard (as admin)
- Show code only on WooCommerce Pages
- WP_Query that targets all categories
- Prevent WordPress from putting around specific element
- How to put the WordPress blog into theme
- How to correctly escape data
- Sort Events by Venue Title – Sort Post set by related post ids
- Get posts by category or author
- How to make post button to a random post
- I moved my site to another server, wp admin works so does the front page, but posts don’t work
- How can I have the posts from one word press blog show on the presentation page of another word press site
- How to pass multiple checkbox values to wordpress query?
- How to create three columns from selected posts
- Display the popular tags by default in the backend post edit page (without having to click on the link that displays them) [closed]
- Getting 404 when using rewrite rule for posts
- Posts and pages not getting published
- how to show all post with its contents
- Last updated post in wordpress homepage first position
- How to make category for word post_content
- How does WordPress add the comments and comment form to posts
- website images getting corrupt automatically