Browse Source

Started modifications for gruene-rostock.de

main
Dirk Rüdiger 7 months ago
parent
commit
9e1b764e6a
  1. 11
      functions.php
  2. 16
      style.css

11
functions.php

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

16
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;
}

Loading…
Cancel
Save