Closed JanaME closed 6 years ago
Thanks @JanaME
I've added this fix a57b6d380a36c60d126c199d484408e1cdd0f72b
Comes with release 1.7.1
For grid/default-frontend.css have a look at 9ebd1ee
@EdwardBock works now! Had to fix a small tippfehler (2940625) ;)
Hi @EdwardBock,
I found a bug when using a child-theme. If the parent theme overwrites grid-templates and you want to overwrite that in child-theme, it doesn’t work, because grid only looks for templates in parent theme.
e.g. https://github.com/palasthotel/grid-wordpress/blob/master/wordpress_plugin.php#L269
You need to replace
get_template_directory()
withget_stylesheet_directory()
in the first place and if that’s empty you can have a look atget_template_directory()
This is also the case for the grid-stylesheet-overwriting (https://github.com/palasthotel/grid-wordpress/blob/master/wordpress_plugin.php#L199).