Support Forum
Oh cool! Now I understand a bit more.
But the problem is, I changed quite a few things in the folder /templates/desktop/, plus something else in reboot.php, plus the overlay.
I translated a lot of things in Italian as well.
May I leave all that stuff in the child folder? Both the folders styles and templates?
Also, do I have to leave reboot.php where it is (in the child theme) and rename it rebootchild.php (or something else)?
By the way, I have pretty much modified all the fonts I wanted to
Yes you can include as much or as little as you like in your child theme, so if you've modified some templates in templates > desktop, you should include those in your child theme, in the same folder structure. A note on templates however - unlike the stylesheet where you can remove all CSS rules that haven't been changed, a template with only one change must still be complete.
And yes, you need to rename reboot.php to the same name as your child theme as set in spTheme.txt.
Good stuff!
Strange, I've just done a couple of local tests and changing $postFontSize works fine for me.. Are you changing the value of $postFontSize in the child overlay?
I was going to suggest you can change the overall font size by adding this to the stylesheet:
#spMainContainer { font-size: 1em; }
Or whatever value you like (110%, 14px etc..). As standard the theme inherits the font size from your WP themes body style, meaning that if that is 12pt, your forum will be too. Adding a font size to the #spMainContainer is the next best way of changing it throughout.
If you wanted to skip overlay's and just change it in your stylesheet, instead of having the call to $postFontSize you could just have a direct rule like:
#spMainContainer .spTopicPostSection .spPostSection .spPostContentSection .spPostContent { font-size: 1em; }
could be... best to disable caching in the browser while playing with css...
also, if you are using combined css caching on forum - options - global settings, you will need to clear the css cache via forum - toolbox - housekeeping if you change the css stylesheets...
Visit Cruise Talk Central and Mr Papa's World
good news! glad to help... let us know how it goes!
Visit Cruise Talk Central and Mr Papa's World
It goes great, Steve!
Child theme done and it works.
I only have a couple of small problems...
I modified the files spHeadDesktop.php and spGroupViewDesktop.php in the folder templates/desktop.
In the first one I changed the breadcrumbs by removing Home, in the second one I commented out the area Unread and recently updated topics.
The two modified files are in the child theme, but for some reason the system uses the two files from reboot so those things look just normal.
If I modify the files in reboot, it works but it will get back to normal when I upgrade the theme.
Any ideas?
1 Guest(s)