Home | Webstore
Latest News: OOTP Update 20.6 - OOTP 20 Available - FHM 6 Available

FHM 6 Available Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 20 > Suggestions for Future OOTP Versions

Suggestions for Future OOTP Versions Post suggestions for the next version of Out of the Park Baseball here!

Reply
 
Thread Tools
Old 10-11-2019, 06:19 PM   #1
Cooleyvol
Hall Of Famer
 
Cooleyvol's Avatar
 
Join Date: Dec 2001
Location: Union City, TN
Posts: 6,328
Thanks: 68
Thanked 669x in 385 posts
Styles.css doesnt create each time

Please make it so that the styles.css file does not revert to the default OOTP every time you create reports. Its beyond annoying.
Cooleyvol is offline   Reply With Quote
Old 10-13-2019, 12:26 PM   #2
Tiesenberg
Minors (Triple A)
 
Join Date: Nov 2002
Posts: 290
Thanks: 11
Thanked 35x in 18 posts
Trying to use custom .CSS for your League Reports?

Within the template folder, find the "head_bits.tpl" file.

Change the <link rel="stylesheet" type="text/css" href="../styles.css"> to a file of your choice and creation. Add your custom named .css file to your league folder alongside the style.css file.

Hope this helps and is what you were after. If it's unrelated, well, ignore this!
Tiesenberg is offline   Reply With Quote
Thank you for this post:
cavebutter (10-15-2019)
Old Yesterday, 05:27 PM   #3
Cooleyvol
Hall Of Famer
 
Cooleyvol's Avatar
 
Join Date: Dec 2001
Location: Union City, TN
Posts: 6,328
Thanks: 68
Thanked 669x in 385 posts
Quote:
Originally Posted by Tiesenberg View Post
Trying to use custom .CSS for your League Reports?

Within the template folder, find the "head_bits.tpl" file.

Change the <link rel="stylesheet" type="text/css" href="../styles.css"> to a file of your choice and creation. Add your custom named .css file to your league folder alongside the style.css file.

Hope this helps and is what you were after. If it's unrelated, well, ignore this!
Ok, hold on.

Are you saying after I edit that file to say maybe 'stylez.css, if I save my customized styles file as stylez.css in the same folder (….news/html) as the styles.css file, the reports will forever use the stylez.css instead?

Since the templates folder is outside the 'saved_games' folder, I assume this would force this on all leagues that you create reports for? Or do the leagues without the newly named file still use the styles.css file?

Last edited by Cooleyvol; Yesterday at 05:33 PM.
Cooleyvol is offline   Reply With Quote
Old Today, 04:02 PM   #4
Tiesenberg
Minors (Triple A)
 
Join Date: Nov 2002
Posts: 290
Thanks: 11
Thanked 35x in 18 posts
Are you saying after I edit that file to say maybe 'stylez.css, if I save my customized styles file as stylez.css in the same folder (….news/html) as the styles.css file, the reports will forever use the stylez.css instead?

Correct!

Since the templates folder is outside the 'saved_games' folder, I assume this would force this on all leagues that you create reports for? Or do the leagues without the newly named file still use the styles.css file?

I copy and paste my templates folder into the desired save games folder for which I want my custom templates to be used.

I would recommend not renaming the original styles.css but copying it and renaming the second file. Change the head_bits file to recognize the .css file you want to be used, make sure you have your .css file in the proper places within the folder and you're good to go. Make sure you have OOTP closed when making changes like this. It always requires a restart prior to seeing the changes you have made.

Here is an example of custom .css created league home and player pages that I use.
Tiesenberg is offline   Reply With Quote
Old Today, 05:12 PM   #5
Cooleyvol
Hall Of Famer
 
Cooleyvol's Avatar
 
Join Date: Dec 2001
Location: Union City, TN
Posts: 6,328
Thanks: 68
Thanked 669x in 385 posts
That's what I meant. Naming the edited file to something other than styles and leaving the original as is.

So copy/paste the templates folder into the .lg folder that I want to use a custom css file?

I've always just kept a copy of the custom file on my computer and uploaded it each time I created the reports.

Thanks for the info.
Cooleyvol is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:18 PM.

 

Major League Baseball trademarks and copyrights are used with permission of MLB Advanced Media, L.P. Minor League Baseball trademarks and copyrights are used with the permission of Minor League Baseball. All rights reserved.

The Major League Baseball Players Association (www.MLBPLAYERS.com ) is the collective bargaining representative for all professional baseball players of the thirty Major League Baseball teams and serves as the exclusive group licensing agent for commercial and licensing activities involving active Major League baseball players. On behalf of its members, it operates the Players Choice licensing program and the Players Choice Awards, which benefit the needy through the Major League Baseball Players Trust, a charitable foundation established and run entirely by Major League baseball players. Follow: @MLB_Players; @MLBPAClubhouse; @MLBPlayersTrust

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2017 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright © 2018 Out of the Park Developments