hibbitts-design / grav-skeleton-open-publishing-space

Leverage a fast version-controlled workflow using the editor of your choice in the creation, sharing and collaborative editing of Markdown-based Grav site content. Includes Admin Panel and Git Sync.
http://demo.hibbittsdesign.org/grav-open-publishing-quark/
MIT License
27 stars 15 forks source link

Req: Blog with 3 columns and sidebar #11

Closed awrog closed 3 years ago

awrog commented 3 years ago

Is it possible to have a grid layout with 3 columns and (optionally) a sidebar? Unfortunately changing the grid size of the theme to 'Large' or 'Medium' does not add an extra column.

paulhibbitts commented 3 years ago

Hi @awrog , if it is possible with Quark (the parent theme) it should be possible with OPS... I do not think it is however, but still take a look and please let me know what you find.

awrog commented 3 years ago

Hi Paul, that looks surprisingly easy! This post set me on the right track. It seems the proper CSS-definition is already in place, but needs to be uncommented. Just edit: \user\themes\quark\css\bricklayer.css Uncomment the following and you're done. You can adapt min-width: 1200px to you liking

/*@media screen and (min-width: 1200px) {*/
    /*.bricklayer-column-sizer {*/
        /*width: 33.33333%;*/
    /*}*/
/*}*/

It would be a great adition to be activated by default, my min-width is 1440

paulhibbitts commented 3 years ago

Hi @awrog , I am really pleased to see you found a great way to display 3 columns! At this point I'd be wary of changing the default display of the theme for other existing users but if anyone else contacts me with this request I will share the info you found. Thanks very much.

awrog commented 3 years ago

Hi Paul,

You could mention it in the readme file.

Regards

On Thu, 18 Feb 2021, 17:02 Paul Hibbitts notifications@github.com wrote:

Hi @awrog https://github.com/awrog , I am really pleased to see you found a great way to display 3 columns! At this point I'd be wary of changing the default display of the theme for other existing users but if anyone else contacts me with this request I will share the info you found. Thanks very much.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hibbitts-design/grav-skeleton-open-publishing-space/issues/11#issuecomment-781448389, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4XGQ2ACJRLDTLR2ENKXLDS7U2XNANCNFSM4XYBLSXA .

paulhibbitts commented 3 years ago

That's a great idea @awrog , I've updated the Quark Open Publishing theme ReadMe as you suggest: https://github.com/hibbitts-design/grav-theme-quark-open-publishing/blob/master/README.md#further-customization

Thanks again!