Solved

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

Valerius
Shopify Partner
19 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)

diego_ezfy
Shopify Partner
2935 562 883

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

◦ Follow my blog & youtube for coding tutorials. Most questions in here are already answered there!
◦ Top #4 Shopify Expert, 24h reply. Click here to hire me.
Download copy/paste code snippets that can replace most apps.

View solution in original post

Reply 1 (1)

diego_ezfy
Shopify Partner
2935 562 883

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

◦ Follow my blog & youtube for coding tutorials. Most questions in here are already answered there!
◦ Top #4 Shopify Expert, 24h reply. Click here to hire me.
Download copy/paste code snippets that can replace most apps.