pmoreno-rodriguez / grav-theme-editorial

Editorial is a GravCMS port of the Editorial theme from HTML5Up.net.
https://editorial.pmdesign.dev
Other
15 stars 4 forks source link

Sidebar contact info. #17

Closed Zarius01 closed 1 year ago

Zarius01 commented 1 year ago

First off let me just say that I just started with Grav, and I tried about 10 themes, and I absolutely love this one that you've created.

I do have an issue though, as it seems I can't remove the sidebar contact info. I would like to remove it entirely, but I also discovered that even just trying to remove the values defined eg; phone number (555) 555-5555 it keeps replacing it if I attempt to leave it blank, so I'm not sure if that is a bug or a feature. Regardless is there an option in the theme I'm missing or is there another way to completely remove this block?

Thank you in advance.

-== Zarius

pmoreno-rodriguez commented 1 year ago

Hi @Zarius01

Try these changes. You must overwrite these files (blueprints.yaml in the theme root folder and sidebar.html.twig in the /partials folder). You will now be able to choose whether or not the contact section will be displayed.

In the next version of the theme, I will include these changes.

blueprints.yaml.txt sidebar.html.twig.txt

Zarius01 commented 1 year ago

Hi @pmoreno-rodriguez

Seems to have worked perfectly, I really appreciate you taking the time to make this modification.