Creating more space on post

Is there a way to change the amount of space to the left and right of my text on a full width blog post?

Thanks

Hi There,

Please try adding this custom CSS under Theme Options > CSS:

.single-post .x-container.max.width.offset {
    max-width: 800px;
}

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Hope it helps :slight_smile:

Thanks for the help, those videos will come in handy. I tried putting that code into my CSS, but nothing on my site changed. Is there maybe something im doing wrong?

Hi There,

Please update the given CSS code to this:

@media (max-width: 767px) {
	.single-post .offset.cf {
		max-width: 700px;
	}
}

Then clear any caching plugins the site might have, and clear your browser’s cache too.

Hope it helps,
Cheers!

I just tried this too, but nothing seemed to change.

Hi There,

Thanks for the confirmation!
Can you please send your page URL, so that we can have a look.
If you don’t want to share in public you can always use secure note to share the URL.

Thanks

ok, do you need my login information?

Hello @powerfullifting,

Thanks for updating the thread.

Well the code my colleague shared in previous reply will work on mobile devices. If you want for desktop screens and mobile devices both, please use following code instead.

@media (max-width: 767px) {
	.single-post .offset.cf {
		max-width: 700px;
		width: 100%;
	}
}

.single-post .offset.cf {
		max-width: 800px;
		width: 100%;
}

Let us know how it goes.

Thanks.

This worked for me, thanks!

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.