Align Home Page Content Area
- The topic ‘Align Home Page Content Area’ is closed to new replies.
Need help? Check out our Support site, then
Hi there!
How can I align (center or right) the content area on the home page?
Thanks,
Ralph
The blog I need help with is: (visible only to logged in users)
Hi there,
Use this via Customize > CSS:
@media only screen and (min-width: 640px) {
#page .content-area {
margin-left: 30%;
}
}
Hope this helps.
Cheers.
@mkrdip thank you, the code affects all pages and posts. I want to align only the HOMEPAGE content area. What should I change in the code?
May I ask two more questions? It’s about POSTS
a) When I choose VIDEO post type, what difference should I notice compared to the other post types?
The link below was posted as “video type”
If I choose “standard post type”, the post looks the same.
https://strasetsglobal.com/2017/07/04/test-video/
b) Is there a way to move the right widgeted area to the left, only on posts?
Many thanks
Ralph
Hi Raplh,
I am sorry, you can use the following CSS codes for the homepage only.
@media only screen and (min-width: 640px) {
.home #page .content-area {
margin-left: 30%;
}
}
The difference between all post formats is explained here: https://entrepreneurdemo.wordpress.com/docs/post-formats/.
Unfortunately, you can not swap positions of the content area and the sidebar with this theme. A possible way is to use JavaScript or PHP code customization but it’s not allowed on WordPress.com to Free or Premium users. Only Business users can use it.
Cheers.
Thank you all is fine now
Thanks for the info!