Support Forum
Got it. By the way, you also have to have the same file in the your child for mobileview. My forum would not load on mobile unless I added the same file that I modded for desktopview.
Now my next issue is that I added the thanks stats, however the color is white and you can't see it except for the stars. This had happened previously: https://simple-press.com/suppo.....-plugin-2/
Also, the signature color is white and can't be seen.
plan is to get an update out to the framework in next day or two hopefully...
Visit Cruise Talk Central and Mr Papa's World
That is probably due to the child theme using a .css file rather than the .php file in the original.
You can specify your own child stylesheet, just open spTheme.txt in the root of the child theme and change the line:
Stylesheet: reboot-child.css
to
Stylesheet: reboot.php
Or - alternatively keep it as .css
If the stylesheet uses overlay variables it needs to be a .php file, if it just has plain CSS then it should be .css file. The reason why the child framework comes with a .css file is because for the most part people just want to add the odd change. Anything more extensive then as mentioned above you have the option to change it.
So I copied reboot.php, added this code, and then added reboot.php in my child style folder.
#spMainContainer .spTopicPostSection .spPostSection .spPostContentSection .spPostContent blockquote { overflow: hidden; background: <?php echo($postQuoteBackGroundColor); ?>; color: <?php echo($postQuoteColor); ?>; border: <?php echo($postQuoteBorder); ?>; margin: 0 0 1em; padding: 10px; <?php echo($smallRadius); ?> word-wrap: break-word; box-shadow: 0px 1px 1px 0px #99a3ad, 0px 0px 10px #eeeeee; }
I then went ahead and edited the sptheme.txt to this:
Simple:Press Theme Title: Reboot Child Framework
Parent: reboot
Version: 1.0.0
Theme URI: https://simple-press.com
Description: A Simple:Press cross-device/responsive based theme featuring traditional forum layout with numerous colour layout options
Author: Ike Staines, Andy Staines & Steve Klasen
Author URI: https://simple-press.com
Stylesheet: reboot.php
Screenshot: spTheme.jpg
Simple:Press Versions: 5.5.5 and above
Though the block quotes did not change?
I'm sorry but this does work so I am still unsure that you are putting things in the right place and selecting the right theme in the forum admin.
Can you walk me through (a) what theme is selected in the forum admin > themes - and where you have put things you have changed - files and folders that is - not the code changes.
YELLOW
SWORDFISH
|
Yellow Swordfish said
I'm sorry but this does work so I am still unsure that you are putting things in the right place and selecting the right theme in the forum admin.
Can you walk me through (a) what theme is selected in the forum admin > themes - and where you have put things you have changed - files and folders that is - not the code changes.
OK. Here's what I did just now.
Copied the reboot.php file in the style folder
added the code I posted
edited the sptheme.txt like Ike said in the reboot-child folder
added the copy of reboot.php in the style folder on the child theme
the reboot.child theme is selected as I have already made some other changes, which I still need help with as stated in this thread: color of the thanks showing up as white
Hey Alex,
Just going back for a second to the thanks showing up with white text, can you just confirm firstly where you are putting the thanks stats, what overlay you are using, and just so we know have you updated to Reboot v1.0.1?
I've just tried this locally, using the 'light-blue' and the 'blue' overlay, putting it under the avatar where we did in the last thread, and the text shows up black no problem..
Ike said
Hey Alex,Just going back for a second to the thanks showing up with white text, can you just confirm firstly where you are putting the thanks stats, what overlay you are using, and just so we know have you updated to Reboot v1.0.1?
I've just tried this locally, using the 'light-blue' and the 'blue' overlay, putting it under the avatar where we did in the last thread, and the text shows up black no problem..
I know that thanks showing up white is something I did. I copied the orange overlay and I changed it to the blue color in the orange areas. I just checked by changing the overlay to the stock Blue and the thanks shows up as black, the signatures also show up when I do this. I'm not sure how I should fix this with my "custom" overlay?
It depends where your custom overlay comes from.
I'm guessing the orange overlay was copied from the first version of Reboot which would tie in with the thanks and signature text colour problem. If so you will either need to start over or use an editor to compare for differences. If your going to compare then you should be looking for variables that are different / need removing / need adding / need their rule updating.
It would be worth looking at the latest theme update changelog which details the changes you need to make to bring your custom theme up to current version spec.
Usually you shouldn't need to do that with a child theme, but in this case with Reboot being so new unfortunately these changes were essential.
Is everything else up to date?
1 Guest(s)