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

Create a new template with card containers for blogroll [Editorial Theme]

theme

Started by Arnaud 10 months ago · 2 replies · 61 views
10 months ago

Hello all,

I am currently using the Theme “Editorial” which fits well to my need. I would like to create a blogroll page, but in terms of templates, I would like to add each domain I share in a card, a bit like this: https://kevquirk.com/blogroll/

I was wondering if someone ultra familiar with this theme and CSS could help me achieving this. I checked the different templates available on the theme, but did not see anything close to this.

Once again, thanks a lot for your help.

10 months ago

@ramenos, If a theme's templates do not provide the layout that you want, you will have to override the theme's template you are using for that page in your own child/inheriting theme.

👍 1
10 months ago

The Editorial theme has the necessary styles to get what you want. Just create a new template (modular or not modular), similar to the one in the blog list, and change the ‘Read more’ button for two buttons (or the ones you want) defined in the template blueprint, and show them on the card, to load the links you want.

Always doing as @pamtbaau says, in your child theme, unless you want to integrate your suggestion into the theme through a Pull Request in the GitHub repository

👍 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