How do I align my blog content to the center of the page?

Solved
Valerius
Tourist
16 0 0

Hello developers
Help me align my blog content to the center of the page
On this page https://hot-tent.com/blogs/news/how-to-stop-tent-condensation-useful-tips-for-comfortable-camping 
Here are the styles for this section

1111.png

How to do it?

Or can it be done in another way? Not via css?

Accepted Solution (1)

Accepted Solutions
diego_ezfy
Shopify Partner
2300 413 541

This is an accepted solution.

@Valerius, do this to fix it in 20 seconds:

1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.scss.liquid or theme.css and paste this at the bottom of the file:

.template-article .reading-container {
    margin: 0 auto !important
}


Kind regards,
Diego

◦ Slideshow images cutting off? Try the Slideshow (PRO) section. No apps required. | Replace apps with copy/paste code snippets & save money. Examples here.

View solution in original post

Reply 1 (1)
diego_ezfy
Shopify Partner
2300 413 541

This is an accepted solution.

@Valerius, do this to fix it in 20 seconds:

1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.scss.liquid or theme.css and paste this at the bottom of the file:

.template-article .reading-container {
    margin: 0 auto !important
}


Kind regards,
Diego

◦ Slideshow images cutting off? Try the Slideshow (PRO) section. No apps required. | Replace apps with copy/paste code snippets & save money. Examples here.

View solution in original post