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 add a second sidebar

Started by Jerry Brahm 8 years ago · 9 replies · 1329 views
8 years ago

I am using the grav-skeleton-open-blog-space. In the theme, it allows to Enable a "Show sidebar" on a new page, or Disable, of course. But I want to add a second option for a second sidebar so I can have one sidebar on specific pages and another on other pages. I think I need to adjust or duplicate some twg files, but I'm not sure where to start to customize this.

8 years ago

Hi @g.gravitas, I am the author of Open Blog Space (a customized version of the Quark theme). As you can see, there is no built-in support for a second sidebar but of course it is possible re: custom Twig.

Is one sidebar for all blog pages and another sidebar for other types?

8 years ago

My customizations and Quark itself is not really setup for doing that easily - for sure it would involve custom Twig (new page templates) and also additional pages (to store/display new sidebar).

I'd offer to provide something to help you out but it's beyond the scope of something I could quickly create myself. However, you might find some of my other work in my Bootstrap Open Matter theme (https://github.com/hibbitts-design/grav-theme-bootstrap4-open-matter) of interest, as there I've got multiple page types and some include a sidebar and some do not - might be some useful starting points there.

Good luck!

8 years ago

Thank you. I really like your theme. I'll learn by doing. Appreciate it

👍 1
8 years ago

Hi, me again.
I keep getting this message and can't get the site on my local machine:

  • Allowed memory size of 134217728 bytes exhausted (tried to allocate 9301601 bytes) in /Users/jerrybrahm/repos/outrage/vendor/gregwar/image/Gregwar/Image/Adapter/GD.php on line 85

I've checked to make sure my php.ini file is at 256, but in th Admin console it still says 128 ... ? I've deleted and reinstalled several times. Each time I can launch the site at first, then when I refresh ... I get this message .... any help?

8 years ago

I do not know, is this still happening? How are you running the site on your local site?

8 years ago

Hi,
I am using your grav-skeleton-open-blog-space theme; it's not published yet, but when working on it locally, a GitHub link is always in the navbar; I actually disable the GitSync plugin, but "View Content Repository" is now in the nav ... will that be visible to users? How do I remove it? Thanks
02%20PM|262x77

8 years ago

Hi @g.gravitas, you can choose where/if to display the GitHub link in the theme settings:

2018-09-09_15-20-48|690x468

To hide the link, choose "None" in the above menu.

Please let me know how you make out.

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 198 2 months ago
Themes & Styling · by Ian, 2 months ago
3 94 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 456 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 48 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 128 3 months ago