I’m going to clarify a small design problem that you may find when you want to embed a youtube video in your WordPress posts. It is very easy to embed a video or youtube link in a post in WordPress but, by default, when we embed the youtube video, it is on the left margin.
There is an option to center the video but it doesn’t work, I don’t know if it’s a wordpress bug or I don’t know what to say. But the reality is that the result when we embed the youtube video does not look good.
Center a Youtube Video on WordPress Post
So, if we want to centre the video we can do it in two ways;
1- Write a word, for example, “hello”, then centre it, and paste the url of the youtube video. We remove the word “hello”, and we see that the video has been centred.
2- The second option is to create this Gutenberg block in WordPress in columns.
We choose this one, and we put in the central column the url of the youtube video. I think the best option is the first one because you save code from the columns you have created. The cleaner the code is, the faster the page will load.
You can watch it in the Youtube Video.
So, I hope I have helped you with this small problem but it helps a lot to have a good design in the post and that there are more chances for the visitor to click on the youtube video.
In these links I give you more useful information to continue creating your online project.
When you have your website up and running for a while, it will be a good idea to clean up your database so that it weighs less and goes faster.
And also this link about avoiding your email going to spam when you want to do neswletter or other promotion of your projects. It is important that your email is clean for the email servers.