twenty twenty one / background values

CSS conical gradient is still in the experimental stage and hasn’t been adopted yet by the majority of modern browsers. Only Google Chrome 69+ and Safari 12.1+ in desktop browsers and iOS Safari 12.2, Android 12.2+ and Chrome Android 67 among mobile browsers provide browser support for this feature. Other popular browsers like Mozilla Firefox, … Read more

Replace custom SVG icons in Twenty Twenty-One

That’s not how that file works, and including it will just load the class definition, it won’t create a Twenty_Twenty_One_Child_SVG_Icons object or override Twenty_Twenty_One_SVG_Icons. It’s also not how child themes work. Child themes let you override templates specifically, not arbitrary files and classes. Instead, use the twenty_twenty_one_svg_icons_{$group} filters to modify the array in your child … Read more

How do I override template-tags.php in 2021 theme

Notice how the parent theme checks if they are already defined e.g. if ( ! function_exists( ‘twenty_twenty_one_entry_meta_footer’ ) ) { … } Then just define them in your child theme’s functions.php file, to override the corresponding template tag. It should work because the child theme’s functions.php file is loaded before the parent’s functions.php file that … Read more