Started modifications for gruene-rostock.de

This commit is contained in:
Dirk Rüdiger 2021-07-05 08:08:50 +02:00
parent 8265ab0650
commit 9e1b764e6a
2 changed files with 16 additions and 11 deletions

View file

@ -1,6 +1,7 @@
<?php <?php
add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
function enqueue_parent_styles() { function child_theme_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); 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' );

View file

@ -1,14 +1,18 @@
/* /*
Theme Name: Joseph knows best Child Theme Name: KV Rostock
Theme URI: https://git.verdigado.com/NB-Public/jkb-childtheme Theme URI: https://git.verdigado.com/dirk.ruediger/jkb-kv-hro
Description: Child Theme fuer Aufwändiges Wordpress-Theme für den EInsatz von größeren Websites, z.B: bei Landesverbänden. Description: Child Theme fuer KV Rostock, based on "Joseph knows Best"
Author: Willi Junga Author: Dirk Ruediger, Henning Wuestemann
Author URI: https://verdigado.com Author URI: https://verdigado.com
Template: Joseph-knows-best-master Template: Joseph-knows-best
Version: 0.0.1 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 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: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/ */
.p-8 {
padding: 2em;
}