diff --git a/functions.php b/functions.php index 8cd428d..e217c5b 100644 --- a/functions.php +++ b/functions.php @@ -1,6 +1,7 @@ + +function child_theme_styles() { + wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); + wp_enqueue_style( 'child-theme-css', get_stylesheet_directory_uri() .'/style.css' , array('parent-style')); +} +add_action( 'wp_enqueue_scripts', 'child_theme_styles' ); diff --git a/style.css b/style.css index 72ed75e..5465486 100644 --- a/style.css +++ b/style.css @@ -1,14 +1,18 @@ /* -Theme Name: Joseph knows best Child -Theme URI: https://git.verdigado.com/NB-Public/jkb-childtheme -Description: Child Theme fuer Aufwändiges Wordpress-Theme für den EInsatz von größeren Websites, z.B: bei Landesverbänden. -Author: Willi Junga +Theme Name: KV Rostock +Theme URI: https://git.verdigado.com/dirk.ruediger/jkb-kv-hro +Description: Child Theme fuer KV Rostock, based on "Joseph knows Best" +Author: Dirk Ruediger, Henning Wuestemann Author URI: https://verdigado.com -Template: Joseph-knows-best-master +Template: Joseph-knows-best Version: 0.0.1 -Text Domain: jkb-child +Text Domain: jkb-kv-hro Tags: child, childtheme, child-theme, two-columns, green, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, custom-menu, theme-options, featured-images, storytelling License: GNU General Public License v3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html */ + +.p-8 { + padding: 2em; +}