KyleAMathews / typography.js

A powerful toolkit for building websites with beautiful design
http://kyleamathews.github.io/typography.js/
MIT License
3.84k stars 182 forks source link

How can I change the max-width? #203

Closed izmth closed 5 years ago

izmth commented 5 years ago

I'm using the gatsby-starter-blog. I want to change the max-width to 800px but I can't found the way do that.

I tried this but nothing changed.

bootstrapThme.overrideThemeStyles = () => ({ 
    'element.style': { maxWidth: '800px' } 
})
iammatthias commented 5 years ago

@izmth you'll probably get a better answer on the repo for the Gatsby starter: https://github.com/gatsbyjs/gatsby-starter-blog

That said, check out the maxWidth value on line 59 in the layout component: https://github.com/gatsbyjs/gatsby-starter-blog/blob/master/src/components/layout.js

izmth commented 5 years ago

@iammatthias Thank you so much! I succeeded in changing max-width.