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

How to change the look in Quark as in the demo?

first-time theme

Solved by pamtbaau View solution

Started by Themis Dallas 3 years ago · 4 replies · 1190 views
3 years ago

Hi. This is my first post.
I have installed GRAV and I created a small website to test it. I use the default Quark theme, which shows 4 different layouts in the screenshots. But I have failed to reproduce anything but the first. I switch the page type to "Blog", the photo background appears, and then the text is just overlaid on top.
http://aethse.ha.uth.gr/
Are there instructions for how to change the appearence? I suppose there are CSS classes that will do the trick, but I although I tried the ones in the documentation, I did not manage to change the appearence to the "Say hello wtih Grav" look.

3 years ago

@TGD,

I use the default Quark theme, which shows 4 different layouts in the screenshots.

Not sure what you mean with "screenshots".

I switch the page type to “Blog”, the photo background appears, and then the text is just overlaid on top.

Do you mean you changed the name of file user/pages/01.home/default.md into user/pages/01.home/blog.md? That won't work...

I suggest you take a step back and start reading the documentation.

3 years ago

I am sorry I was not clear. This is the page from:
https://github.com/getgrav/grav-theme-quark/blob/master/README.md

What I would like is a tutorial that will lead me from the first layout on the left to the more advance layout to the right. I tried the CSS parameters mentioned in the page, but at the most I got something resembling layout #2. Is the necessary CSS included in the quark theme? Is there an actual page of this layout so I can study the way it is built?

3 years ago Solution

@TGD, Ok, I now see what you mean with screenshots...

quark-screenshots|690x215

  1. The first is a default page.
    It is used for the default pages available in a Grav installation.
  2. This is blog list page show a list of blog items
    To see an example in action, you should download the Blog Site skeleton.
  3. This a a single blog item
    Also part of the Blog skeleton
  4. This is a one page example
    A sample is available in the One-Page Site skeleton.

Be aware that templates are not layouts. Templates contain logic that needs information from the page for which it is being used. For more understanding, please read the documentation as mentioned before.

last edited 05/03/23 by pamtbaau

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 197 2 months ago
Themes & Styling · by Ian, 2 months ago
3 93 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 454 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 47 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 127 3 months ago