Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Quark blog styling

Solved by Paul Hibbitts View solution

Started by Sjoerd Smeets 7 years ago · 2 replies · 1638 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 FrViPofm, 4 weeks ago
4 471 2 weeks ago
Themes & Styling · by johan thomas, 5 years ago
1 799 3 weeks ago
Themes & Styling · by stuart young, 2 months ago
3 656 2 months ago
Themes & Styling · by Sebadamus, 3 months ago
5 678 2 months ago
Themes & Styling · by martynfoster735, 3 months ago
1 640 3 months ago