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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

Quark blog styling

Solved by Paul Hibbitts View solution

Started by Sjoerd Smeets 7 years ago · 2 replies · 1309 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 Pedro M, 2 months ago
4 193 2 months ago
Themes & Styling · by Ian, 2 months ago
3 90 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 449 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 44 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 123 3 months ago