Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Quark blog styling

Solved by Paul Hibbitts View solution

Started by Sjoerd Smeets 7 years ago · 2 replies · 1570 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, 23 hours ago
1 35 10 hours ago
Themes & Styling · by stuart young, 1 month ago
3 480 1 month ago
Themes & Styling · by Sebadamus, 2 months ago
5 481 2 months ago
Themes & Styling · by martynfoster735, 2 months ago
1 460 2 months ago
Themes & Styling · by Justin Young, 2 months ago
1 491 2 months ago