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 · 1508 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 stuart young, 2 weeks ago
3 251 2 weeks ago
Themes & Styling · by Sebadamus, 3 weeks ago
5 317 2 weeks ago
Themes & Styling · by martynfoster735, 4 weeks ago
1 310 4 weeks ago
Themes & Styling · by Justin Young, 1 month ago
1 348 1 month ago
Themes & Styling · by Slebeig, 2 months ago
4 474 2 months ago