Skip to content
Grav 2.0 is officially stable. Read the announcement →
Themes & Styling

Quark blog styling

Solved by Paul Hibbitts View solution

Started by Sjoerd Smeets 7 years ago · 2 replies · 1469 views
7 years ago

Hello,

I'm using the default Quark theme for a website, but i don't want the blog to use columns.
Do i need to delete all bricklayer information in blog.html.twig?
Or do i need to set the bricklayer width to 100%?

Is it possible to have the blogs show exactly the same layout as in blog-item.html.twig?

Thanks for your help!

👍 1
7 years ago Solution

Hi @SjoerdSmeets, yes by basically removing the bricklayer div you can get a one-column display. I actually have this as an option in my Quark Open Publishing theme so you may find that Twig useful: https://github.com/hibbitts-design/grav-theme-quark-open-publishing/blob/master/templates/blog.html.twig#L50-L54

BTW, to customize any theme files it is recommended to setup an inherited theme: https://learn.getgrav.org/16/themes/customization#theme-inheritance

7 years ago

Thanks @paulhibbitts that was what i was looking for. I think i'm going to use your snippet instead.

I'm using an inherited theme based upon Quark.

Thanks again!

👍 1

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Sebadamus, 6 days ago
5 148 13 hours ago
Themes & Styling · by martynfoster735, 1 week ago
1 192 1 week ago
Themes & Styling · by Justin Young, 3 weeks ago
1 241 3 weeks ago
Themes & Styling · by Slebeig, 1 month ago
4 375 1 month ago
Themes & Styling · by Pedro M, 3 months ago
4 744 3 months ago