Sommerregen / grav-theme-machine

This theme is a Grav port of the Machine HTML Template (http://w3layouts.com/machine-industrial-category-flat-bootstrap-responsive-web-template/) developed by W3Layouts (http://w3layouts.com/).
Other
7 stars 3 forks source link

Hints for editing wanted #3

Closed herrdeh closed 7 years ago

herrdeh commented 7 years ago

After some hours of struggle, I'm asking for help. I choose grav, because it looks like a very easy way of creating a web page. Unluckily, it's not so easy to understand how to modify the theme to my needs.

So I think, quite some users would greatly appreciate some hints for basic editing the theme:

Some basic info would be very helpful!

Anyway - thanks for your work - greatly appreciated! W

Sommerregen commented 7 years ago

Hi @herrdeh ,

almost all your questions can be tackled via CSS style changes. Currently, there is no way to do it in the admin or as a config parameter. Fist of all, I recommend using theme inheritance ( https://getgrav.org/blog/theme-development-with-inheritance ). Then, place your logo under assets/images/logo.png.

Styles for the headline can be found here style.css#L340-L349. You just have to modify it for your needs. The same goes for the h2 headlines and so on. Fonts and font styles can also be changed there.

Generally, the contents can be changed by editing the page type twig templates, e.g., default.html.twig. Adjusting default.html.twig#L86-L104 to your needs is maybe all you want.

herrdeh commented 7 years ago

Hey, thank you very much for your reply - greatly appreciated. In the meanwhile, I figured out some of the items on my own - took me serveral hours, so my suggestion is to place the instructions you gave above into the readme.

Beste Grüße aus Berlin!

Sommerregen commented 7 years ago

@herrdeh Great! Can I close this issue in the meanwhile?

Viele Grüße zurück :-)

herrdeh commented 7 years ago

Yesss - fine with me!