I managed to sort the problem by adding this CSS to the bottom of my main-styles.css file
p {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
It also fixed all the issues with the images that I mentioned above and the line breaks that were not appearing on the front end.
The WordPress editor and the front all marry up now.
Thanks
Related Posts:
- How to get Images included in Post
- How to know if get_posts() failed?
- How do I sort (order) the results from `get_children()`?
- how to display full post with pagination on home page
- Post & edit a post from front end along with upload, dropdown, and other inputs
- How do I change the gallery that is inserted in the post?
- Posts Page Featured Image [closed]
- Displaying Page Title on index.php
- How to enqueue scripts depending on post formats?
- How to Replace the WordPress Featured Image with a Video?
- Convert a complex webpage into WP theme
- How to load a different header based on post format?
- Changing next and previous post link text
- Understand post type
- Mark menu item as current-menu-item for category
- Understanding and using metaboxes in posts
- Why won’t my taxonomy query show up?
- Admin Notices don’t display on the admin screen for certain post
- Why orderby=”date” does not support manually changed posts?
- Static page does not show my posts
- I am unable to publish/update post
- page.php showing loop of posts and not page content
- Custom WordPress Theme: Publish Date and Display Date for posts right beside each other
- How to show single post page as home page
- Exclude category from
- Blog page not working
- How to display the link (title) and thumbnail post?
- Underscores Theme Unit Testing – Catching Untitled Posts
- get_the_excerpt() is not working as expected – returns wrong text
- How to use format post in a pertinent way
- Unable to restore from backup – how to obtain old blog posts?
- Disable sticky option for specific categories
- Highlight static blog page link in header
- How to create a template for Pages?
- How do I do a page break?
- Block editors annoying warnings
- What does WordPress do if I save a post without content/title? [duplicate]
- How to add a class to edit_post_link?
- Admin – no Featured image choice in create new/page|post
- Is there a way to create a meta box that can be added multiple times to a post dynamically?
- how to hide empty fields of post category description?
- Give posts a particular template based on the assigned category
- Display Featured Posts Grid on Static Page (Gazette)
- how to handle the loop using filling bootstrap grid structure?
- Cant’ Grab WordPress Built-in Posts Through Loop
- Change default post style to columns
- How do I allow certain users to make a certain type of post?
- How to add a post class on every post. (on homepage)
- I can’t find the relevant part of the loop in my theme file. How do I find the full content with “More…”
- WordPress Architecture as a CMS – Posts & Pages
- Am getting duplicate data from get_posts()
- Change modified date to current date when title updated automatically
- Add a field in my rest api
- Permanently deleted posts still exist
- Aligning images in the wp editor not working. How do i get this to work in custom theme?
- How to pull latest posts from a specific category
- Problem paginating a subquery on a post
- Moved a website and excerpts don’t work for old posts
- How to prevent clicking on posts
- How to get value of a selected option from select tag and use it in WP_query to filter posts?
- Integrate video and iframe in a post type gallery
- How to put the WordPress blog into theme
- Display post order ranking within wordpress loop
- Displaying a specific sub-category’s posts from wp_query
- Trim excerpt to first paragraph
- Posts only showing on /localhost/wordpress/ and not on other pages
- Post are not showing up
- Blog styling in SASS
- How to show the posts list into a static page? Problems to use the loop into a static page
- WP Load post with ajax and apply isotope
- Display the current post author and his url in the post header
- wordpress taxonomy results
- Which hooks are essential for post templates?
- Get most recent posts by category that aren’t first overall [duplicate]
- The post order is different for logged-in and non-logged-in users? [closed]
- How to show only the date, the title and a little “summary” of my WordPress post in my custom theme?
- Convert HTML5 to WordPress theme
- Change from all posts to specific categories post on main page?
- Wp_query WooCommerce products
- Get posts after calculating meta key
- No matching template found when using single.php
- Is there a block to print post link standalone in a block theme?
- WordPress Ajax load doesn’t work
- Determine if page is the Posts Page
- How to get ‘post_content’ without stripping tags?
- How to Sort Custom columns in admin
- Shortcode Not displayed at the Right Place [duplicate]
- How to show video from specific category on sidebar?
- Display posts with comments closed, with pagination?
- Multi row post list
- Custom home page with full post for first one only
- Need to know custom code to display random and most viewed posts in wordpress posts and pages
- Load widget only on blog posts
- Page of posts made to look like homepage
- Query to fetch custom taxonomy along with post title
- Single post shows post three times
- Blog Page doesn’t show summary but full content
- Custom author search
- My blog “page” used to show a list of posts, but now it’s just showing the page content?
- Display content from specific category