Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Child theme question
Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Dec 4, 2015 - 4:55 pm

I was editing some info and I just confused myself.  When I want to make a change, for instance adding the thanks stats in topic view, do I just need to copy the template-topicviewdesktop.php-and add it to the child folder, then add any code changes reboot-child.css in the theme editor?  Or do I have to make the change to the template itself?  

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 4, 2015 - 5:07 pm

Hey Alex,

If you want to make a CSS change then you need to add it to your child themes stylesheet i.e reboot-child.css.

If you want to make a change to a function like adding arguments, adding functions or PHP to a section of the forum that change will need to be made to a template, so you would need to copy the entire desktop or mobile template into your child themes relevant desktop / mobile folder and make the change directly to it.

Hope that helps!

Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Dec 4, 2015 - 5:14 pm

Ike said
Hey Alex,

If you want to make a CSS change then you need to add it to your child themes stylesheet i.e reboot-child.css.

If you want to make a change to a function like adding arguments, adding functions or PHP to a section of the forum that change will need to be made to a template, so you would need to copy the entire desktop or mobile template into your child themes relevant desktop / mobile folder and make the change directly to it.

Hope that helps!

OK...I just confused myself there for a second.  I already have all this changed in template, but while I was adding some basic change, making some round corners, I confused myself.  Though, if you guys make a core change to that template, won't my copy override that since it's using an older version?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 4, 2015 - 5:40 pm

No problem, easily done!

That's right your copy will override whatever core change we put in place, which is why it's important to keep up with the latest news and developments forum where we put out CSS and template updates information so if you do run a custom or child theme you can keep up to date and implement the changes manually.

Although child themes are much easier to work with than full custom themes, they still require that maintenance.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620