Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Small problems with the new reboot
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 7:19 am

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 laugh

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 7:30 am

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!

Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 8:01 am

Ike, there is still something I am not able to do...

I want to change the font size in topic view, in both the posts and the user info on the left.

I found topicUserSectionFontSize and postFontSize, I edited both but nothing changed...

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 1:05 pm

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;
}
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 7:18 pm

I wonder if it's an issue with just clearing the browser cache. I had to clear mine every time I made a change on my staging server for me to be able to see it.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 10:35 pm

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...

Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Feb 17, 2015 - 3:01 am

Bingo!

Of course I cleaned the browser cache several time, but nothing...

Then I cleaned the CSS cache in housekeeping and...done!

Thank you Steve. Now it looks great! laugh

Now, back to the child...

I will get there! laugh

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 17, 2015 - 3:05 am

good news!  glad to help...  let us know how it goes!

Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Feb 17, 2015 - 5:20 am

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?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 17, 2015 - 5:55 am

Reboot is a little different...

In the main /templates folder of your child theme you will also need a copy of the file spGroupView.php from the parent 'reboot' folder'. That should sort it.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626