Change text width in individual posts, but keep sidebar aligned with text
-
Hi everyone,
I love my Kale theme, but the post width is to wide for me.
I need to keep the column narrower so it’s easier to read.I tried EVERY offered solution from the WP forum, but non works in my case.
This is exactly what I wish to do:I want my homepage to stay as it is, but I wish to change the width of every individual post. I want my headline, post text, all media (pictures/video) and sidebar to stay together and centered, with only text+media getting narrower. So, no change to the sidebar width. Also, no change to the banner and the menu bar. I just want to make the text easier to read by making lines shorter, with the sidebar staying close at the right side of the text. This code helped a bit:
.single-content {
max-width: 600px;
margin: 0 auto;
}…BUT it only changed the width of the text/media, while the sidebar stayed on the far right, so there was a huge blank margin between the sidebar and the text. If the mentioned code could be adapted to leave the sidebar and the text together and centered, that would be great. Also, this code didn’t affect the headline, so the headline stayed aligned to the left, while the text went toward the center while being narrowed.
I’m sorry if I sound confusing. I’ll gladly answer any additional questions.
Thank you so much!
The page I need help with: [log in to see the link]
- The topic ‘Change text width in individual posts, but keep sidebar aligned with text’ is closed to new replies.