Advertisement:

Author Topic: Is it possible to limit the horizontal width of text?  (Read 129 times)

Offline Dwev

  • Semi-Newbie
  • *
  • Posts: 21
Is it possible to limit the horizontal width of text?
« on: November 10, 2017, 04:27:26 AM »
I found it hard to read text (especially longer ones) if they take up a lot of space horizontally.
And from polls on our forum about this I know there's a lot of people that feel the same.

So I was wondering if there's a way to limit the horizontal width of text in SMF.
I've looked for mods and in threads, but haven't been able to find a solution.

Offline Gwenwyfar

  • Customization Team Apprentice
  • Full Member
  • ***
  • Posts: 587
  • Gender: Female
    • Gwenwyfar on GitHub
Re: Is it possible to limit the horizontal width of text?
« Reply #1 on: November 10, 2017, 04:32:26 AM »
You can add a width limit to your entire theme by editing your index.css file. If you are on curve look for div#wrapper max-width property. Other themes should have something similar. You could do the same only to the inside of posts as well, but that'll leave you with a lot of empty space.