TT4 Child Theme – A ton of wonders and stuff not working
-
Hi TT4
I have scraped manual after manual, and I really need some clarification to move further… I have setup a child theme for tt4 that apparently sort of works. Style Css is in place and declaring TT4 as parent. Woo specifies that child theme is theme and TT4 is parent. I declare tt4 to woo using a snippet in child functions.php, so this file also works. Furthermore, I have added theme.json and screenshot.png.
The following is totally unclear for now:
- Front Page – Query of blogs at bottom and footer does not show on my frontpage. Why? They show in editor.
- How du I activate style.css (child) so that additions show on site and also in editor?
- Fonts are not showing correct. Basically I am using Cardo and Inter as default TT4, however, the display is not ported to child correct. Paragraphs show as Cardo font and other strange things are happening that I didn’t ask for. Why is this? and how to overcome?
- Templates, Parts and Patterns. I have copy pasted those from tt4 into child. Yes everything, yet some of my custom work does not show? Also I wonder: If I copy from TT4, will that not overwrite stuff in TT4? In other words, I need to create custom stuff with other title and slug if I want parent theme stuff to show? My concern is if I switch to fx TT5 theme, the new templates from parent will not show in editor if they are identical (Title, Slug) to what is in my child theme? Or have I misunderstood? It’s really important to me, I get this right since I want both parent default (Now and future) and also custom child stuff to show in editor.
- theme.json variables – (I have read the manuals and I do not find my answer). As I understand theme.json child coexists with parent theme.json and takes priority over parent if same stuff is in there with new color etc. Settings displays in editor or does it? Custom styles is other styles than the ones in native tt4. So how do I create simple variables such as color, font-size etc. like this: var(–wp–preset–color–accent-3), and this var(–wp–preset–font-size–medium). I use default styles, I just need custom variables coexisting with default variables……! Where and how do I define them?
- theme.json core stuff – Altering fx core button, I assume I can copy paste from parent theme.json to child theme.json and then alter to my liking, and then this will overwrite parent? Is this correct?
So in short I have structure issues not working and basically I want to create variables next to TT4 default and make them available in settings, but also have those for plugin css to make them adapt at theme change etc.
Thx
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.