There is probably some CSS you can add via Additional CSS (in Theme CUstomization) that you could use. Use the Inspector tool of your browser (F12) to see the CSS ‘class’ element used in the content. If the class is called ‘the_content’, then add this to your Additional CSS:
.the_content{text-align:center !important;}
You might need this, if the content is inside ‘p’ tags:
.the_content p {text-align:center !important;}
Adjust it for what you like (you may not need the !important
). In the Inspector, you can add CSS stuff to that element to try things out. There are googles/bings/ducks on how to use the Inspector.
Related Posts:
- Add multiple HTML attributes to an Elementor button
- How do I change/modify the_post_thumbnail(); html output?
- start_lvl Ignored in Custom walker_nav_menu
- Modify previous and next text from pagination links
- Custom SQL query to get List of posts with featured image url
- the_post_thumbnail() based on the Post ID
- Calling a method from functions.php on a click of a button
- Insert After Second Paragraph Without Tag?
- Disable External Pingacks on WordPress Posts and Only Allow ‘Self Pings’
- New Plugin Review
- HTML table from shortcode with multiple parameters
- Use template for posts with a particular category grandparent
- Get_the_author doesn’t return author name
- Placing raw HTML inside a WordPress shortcode
- Slide in Panel WordPress Post
- Shortcode content output but not in correct place
- Add itemprop Schema.org Markup to li Elements in wp_nav_menu
- Removing unneccessary p-tags (Not every p)
- How Display Posts on category
- Query all posts of a custom taxonomy term
- Getting a specific post values to another div or modal
- Add a class to the anchor tag on HTML5 gallery
- Where in PHP do I move title and meta (date) to bottom of each blog section?
- Converting HTML Template to WordPress Theme
- Populate dropdown with Child Pages based on Parent Page chosen
- How to store data from multiple forms using ajax and php
- Get post id in a function when edit/add a post
- Use DOMDocument with ob_start breaks my HTML code
- wp_trim_words() does not work with my code Am I doing any mistake in my code?
- Add .htm extention to a custom taxonomy
- Noscript not working as it should in wordpress site
- Which PHP page is the Default Posts Page
- How to make modifications only to certain elements of an HTML string on the server-side?
- Widget back end radio button issue
- Function works everywhere, how to keep it to execute when creating a new post
- Pagination on Custom Post
- How to use mysql LIKE with wpdb?
- Reading settings in the home page precisely home.php
- get post id from wp_insert_post for get_template_part
- Adding function to child theme’s function.php
- How to use the checked() function to check for a non-empty var
- Calling function in loop causes repeat data
- how to make an array of post id’s in is_single
- Need help removing […] after excerpt
- How can I use custom menus with a Bootstrap WordPress theme?
- remove specificly the last tag in all posts
- Pagination in single.php
- Time Delay a URL Redirect for Specific Page
- how to changes mobile menu toggle breakpoint in WordPress
- WordPress User Meta value variable into Google Gauge Chart
- WordPress Post Block Element not properly parsed with the_content filter
- Adding HTML Code to Replace Text in PHP
- How to Send Pingbacks for all Posts in WordPress?
- PHP function for horizontal Woocommerce thumbnails and badges
- How to use data URL in WordPress?
- HTML comment cause issue in functions.php script root
- posts_per_page displays only 2 posts instead of 4 posts
- Remove span tags from WooCommerce Downloads page
- Limit the number of characters/words in an excerpt for a related posts section
- My single.php page skips the first div tag
- Send POST request to Flask app from functions.php file
- How can I get my pagination loop to display the correct number of total pages?
- LinkedIn Share Post Button
- Getting page / post URL on publish and / or update
- Displaying POST content with HTML tags and all
- Can’t get_users info by using json_encode
- Show post/page into div using function
- Using Tag Groups: Displaying groups and adjacent tags of current post
- How do I get the featured post to share on Social Media and show on Individual Post pages?
- PHP tag in post content makes wordpress go crazy
- insert thumbnail image from php script
- Can’t put a hyperlink on Featured Post’s Image
- Weird Behaviour: Not all WordPress Posts appearing
- Published custom posts missing
- WordPress get_post_meta issue
- WordPress HTML Helper
- Automatically create a loop for post ID
- Insert wordpress tags below posts via functions.php
- Trying to see if page is category or single and displaying title with appropriate heading tag
- Cant get theme to change footer color through theme customizer
- How to modify this function to exclude also the post belonging to a specific category?
- How to customize posts in WordPress by using HTML and CSS?
- How to display the date under the post title?
- Sorting Problem
- WooCommerce: write featured image dimensions to custom fields in product’
- How do I get a function to work in single.php
- transition_post_status hook, works – but not if the post is new
- How to change post date and post time in WordPress automatically with a function
- How can we upload custom page files?
- How can I process a form submission from an HTTP POST request?
- How do I add HTML to a PHP function [closed]
- Nested shortCode functions in the functions.php file
- Theme Options: If There is No Input, Don’t Display?
- Custom Logo URL | Help me print the URL of the custom logo I inserted into my theme
- Show only IF not Google bot [closed]
- How the functions in WP are called in tags
- Custom image upload
- How to display recent posts on home page with custom HTML
- Adding ads code between comments
- How to check If Oembed is empty or not