Theme Author
Guido
(@guido07111975)
A child theme should be possible. Do it all the time.
You should create a folder containing at least a css file and a screenshot and upload it to folder wp-content > themes
The css file should contain at least this:
/*
Theme Name: GridBullettin Child
Description: GridBullettin Child Theme
Author: Guido van der Leest
Template: gridbullettin
*/
/* Imports styles from the parent theme */
@import url('../gridbullettin/style.css');
Note: a better way to import styles from parent theme is to create a funcions file in your child theme with this:
<?php
function enqueue_child_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
add_action( 'wp_enqueue_scripts', 'enqueue_child_styles' );
?>
Guido
Theme Author
Guido
(@guido07111975)
Closed this because of no replies.
Guido
So sorry I was sure that I had replied
yes child theme does work using your details above – although with correct spelling of bulletin 🙂
I have noticed that the font sizes can be a bit weird if I don’t use the whole CSS but not yet dug around as to why
Its still a fab working theme – so thank you and sorry again for not updating this post to say so
Sarah
Theme Author
Guido
(@guido07111975)
I am very ashamed… I was not able to spell my own theme name correctly 🙁
It should use the font sizes from parent theme if you don’t have other sizes in child theme stylesheet. Sometimes a plugin has it’s own font sizes, which can cause a ‘conflict’.
Guido
it happens!! easily!
yeah the font size is strange – it seems to inherit “higher” up rather than flowing down and sometimes I have having to give a font-size:1.0em to lower tags which I would not normally need to do (like <p> <span> if the P has a large font size the span tag reverts to the body font size rather than P tag – anyway its hardly as issue just something I need to check on 🙂
Sarah
Theme Author
Guido
(@guido07111975)
Hi Sarah,
No idea how to solve this right now, but an example would help me to understand this issue. Changing line-height might help?
Guido