How to change page width on blog post mobile view in Beyond Theme

Hi there,

Trying to change the width of a blog post in mobile view as currently the text/body of the post is being cut off at the edges making it extremely difficult to view. Using the beyond them and the site can be found here:

https://cruxleyfieldgoods.com/blogs/news/lightweight-solar-panels-and-battery-banks

It looks fine on a desktop but when viewing from a mobile device it looks like the screenshot below.

Any help on how to change this/what code to change would be much appreciated.

Thanks!

Hey @cruxleyfieldgoo

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Amazing!! Thanks so much!!

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Hi @Moeed - can you please help me here? I have input this code, but the page width on mobile is still too narrow. I believe I may have contradicting code? I like the page width on desktop currently, but would like to widen the content on mobile view. Thank you!

Hey @amycaslee

Share your Store URL and Password if enabled.

Best Regards,

Moeed

@Moeed https://shopkidsplaysets.com/blogs/news/a-new-era-of-play-empowering-young-minds-through-play

Thank you!

Hey @amycaslee

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Hi @Moeed thank you! Can I also edit the page width of the title section?

Hey @amycaslee

Keep the previous code and add this new code above in the end of theme.liquid file

.article-template header {
    max-width: 95% !important;
    text-align: -webkit-center !important;
}

RESULT:

If I managed to help you then, don’t forget to Like it.

Best Regards,
Moeed

1 Like

@Moeed Thank you so much, extremely helpful!!

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.