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
Reboot framework
Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Mar 25, 2015 - 9:32 pm

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.  

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 25, 2015 - 9:33 pm

plan is to get an update out to the framework in next day or two hopefully...

Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Mar 26, 2015 - 1:17 pm

I cant seem to make changes to reboot.php.  I want to change the blockquote and add a box shadow around it, though when I add the code in reboot.php and place it in the child folder nothing happens.  

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 26, 2015 - 2:42 pm

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.

Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Mar 26, 2015 - 3:52 pm

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?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 26, 2015 - 4:04 pm

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.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Mar 26, 2015 - 4:19 pm

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 

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 26, 2015 - 8:06 pm

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

Avatar
Alex T
Member
sp_UserOfflineSmall Offline
Mar 26, 2015 - 8:19 pm

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?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 27, 2015 - 9:19 am

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?

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: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17344
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10117
Posts: 79600