This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
Registering Block Styles in TT2 Child theme #294
Labels
[Type] Question
Further information is requested
Description
I have been playing with TT2 child themes with an aim to customize one of the TT2 child themes example and use in my personal project site.
One of the thing I am trying to do is register block styles in TT2 child theme to style some blocks differently via TT2 child
![TT2](https://cdn.statically.io/img/user-images.githubusercontent.com/59660253/145846970-c8e03ce2-e3b7-4b30-ae66-c45cc521064d.png)
style.css
. Following TT1 Blocks, I was able to register block styles in TT2 theme and style via itsstyle.css
(see screenshot below).However, it failed to register the similar block style in TT2-swiss child using the same codes (see below).
In TT2-swiss I created
/inc
folder and copied the sameblock-styles.php
from TT2 and appendedrequire
statement in TT2-swissfunctions.php
file. I was wondering whether this was related to my local environment and it can be reproduced by others.A request to @kjellr: an example of registering
block-syle.php
and styling via childstyle.css
would greatly benefit for beginners to try and personalize TT2 child themes.The text was updated successfully, but these errors were encountered: