Center the content on a page in CSS and Elementor | How to put objects in the middle of a page

Опубликовано: 03 Ноябрь 2024
на канале: CSS Express
989
5

In this tutorial, learn how to center the content on a page using CSS and Elementor with a help of Inspect Elements. You just need to right click on the page, go to 'Inspect Elements', identify the page ID and then center the items in the page body using display: flex, justify-content and align-items properties. This works great for simple pages with not that many elements, yet with multiple sections, where you can easily put your objects in the middle, horizontally AND vertically.

🚀 Interactive CSS Basics course for designers and non-coders:
https://www.cssgamelab.com/

👉 Get 20% off using the code VELVET20OFF at Checkout.

––––––––––––––––––––––––––––––

PURCHASE AND DOWNLOAD ELEMENTOR PRO:

https://trk.elementor.com/cssexpress

––––––––––––––––––––––––––––––

SIMPLE CUSTOM CSS AND JS PLUGIN:

To use custom CSS code with Elementor FREE, I am using the Simple Custom CSS and JS plugin for Wordpress that you can download here:

https://wordpress.org/plugins/custom-...

Have fun and thanks for watching!

If this tutorial helped you, please share or subscribe.

––––––––––––––––––––––––––––––

This video and description may contain affiliate links. If you click on a link and make a purchase, I will receive a commission from the sale. That way you are supporting my channel and allowing me to keep making videos and posts like this. I only promote products that I use, have experience with and support, such as Elementor Pro.

––––––––––––––––––––––––––––––

Have a specific problem in Elementor that you don't know how to solve with CSS? Comment below to let me know which video you would like to see next!

––––––––––––––––––––––––––––––

MUSIC:

Artist: Corbyn Kites
Track Title: Staycation

––––––––––––––––––––––––––––––