Il Domandatore Posted December 3, 2021 Share Posted December 3, 2021 (edited) By default, objects are left aligned in Wordpress. How do I put the video game container in the center?https://postimg.cc/9ryRWH9Z The page is https://oldfreegame.com/en/nintendo/gameboy-advance/dragonball-z-buu-s-fury/ Edited December 3, 2021 by Il Domandatore Link to comment Share on other sites More sharing options...
Ingolme Posted December 3, 2021 Share Posted December 3, 2021 Set the left and right margins of the element to "auto" Your element doesn't have any classes or identifiable attributes, so a selector for it is difficult to find. This might work: .entry-content > h1 + div { margin-left: auto; margin-right: auto; } 1 Link to comment Share on other sites More sharing options...
Il Domandatore Posted December 4, 2021 Author Share Posted December 4, 2021 Why didn't you identify the class for the second time? Link to comment Share on other sites More sharing options...
Il Domandatore Posted December 14, 2021 Author Share Posted December 14, 2021 Close the post. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now