Best practices for dealing with .kg-width-wide

Hey guys, so I created a little starter boiler plate theme kind of thing and I started making some changes for Ghost 2.0.

One small little thing that’s got me and I’m not sure how to deal with it:

While I understand .kg-width’s purpose, I’m not quite sure how I would implement it in my case.

Any suggestions?

Cheers

In your /assets/style.css file you could add this .css

.kg-width-full img,
.kg-width-wide img{
    // required by gcsan to properly validate the theme
}

Just like that. No properties, no nothing. At least the user that will get your theme, will understand that he must have this classes to properly validate the theme.

3 Likes

Ah perfect!! Thanks so much!

1 Like

Thanks this helped me, over 4.5 years later :avocado: