Change sitewidth % for just the blog posts on mobile

Hi,

I am using a full width setup on my site https://gonetworking.com.au/ and the site % is set at 80% which is really great for big screens but i would like to change it for blog posts in mobile as there is too much space and it doesn’t show up really well.

How can I go about doing that?

Thanks in advance.

Hi There,

Thank you for writing in, please add this to Theme Options > CSS


@media (max-width: 767px) {
	.blog .x-container.width.offset {
		width: 99%;
	}
}

Feel free to adjust the width value where you see it fits.

Cheers!

1 Like

Hi @friech thanks for that. That code makes the “blog page” change the width offset, how about the “blog posts”?

Hi there,

Please update the code to:

@media (max-width: 767px) {
	.blog .x-container.width.offset,
    .single-post .x-container.width.offset {
		width: 99%;
	}
}
1 Like

Great. worked like a charm :smile:

Thanks heaps

Glad we’re able to help.

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