♥geoffreywalton Posted September 15, 2015 Share Posted September 15, 2015 I believe there are 3 classes you can set if you want dataTableContent dataTableHeadingRow dataTableRow Which css file did you amend and what did you put in it? Cheers G Cheers G Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
porrier Posted September 16, 2015 Share Posted September 16, 2015 I believe there are 3 classes you can set if you want dataTableContent dataTableHeadingRow dataTableRow Which css file did you amend and what did you put in it? G Without changing anything the fonts of the databasecheck a much more bigger than the other fonts of the page. The relevant code of the stylesheet.php looks like this. /* .pageHeading { font-size: 1.5em; color: #727272; font-weight: bold; } */ .mypageHeading { font-size: 1.0em; color: #727272; font-weight: bold; } /* data table */ .dataTableHeadingRow { background-color: #C9C9C9; } .dataTableHeadingContent { color: #ffffff; font-weight: bold; } .dataTableRow { background-color: #F0F1F1; } .mydataTableRow { font-size: 2.0em; background-color: #F0F1F1; } .dataTableRowSelected { background-color: #DEE4E8; } .dataTableRowOver { background-color: #FFFFFF; cursor: pointer; cursor: hand; } .dataTableContent { color: #000000; } I then made some changes and set "my" at the beginning of a definition. That worked for some of them, not for all IIRC, until I was able to override them in the according languagefile. I'll make some more test when I find the time. Regards Andreas Quote Link to comment Share on other sites More sharing options...
♥14steve14 Posted March 26, 2016 Share Posted March 26, 2016 (edited) I have exactly the same problem as the last poster. I have installed the latest version of this on the latest bootstrap version and all the fonts on the page are larger than other admin pages. I have removed all the files and copied the ones from my old site where everything was working and displaying correctly. The fonts are still large. Its everything on the page below the image. The addon is working fine. I will look and see what may be different and what is stopping the stylesheet from loading correctly. If you look at the image below you can see that the heading fonts and all fonts on the page are larger on the top picture. Edited March 26, 2016 by 14steve14 Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
♥14steve14 Posted April 22, 2016 Share Posted April 22, 2016 I finally got around to looking at this size problem. When viewing the source code of the admin/database_check.php page there is some javascript about the head tags. It would appear that the following code at the bottom of the includes/functions/dbcheck.php is causing the page text to be large and the stylesheet to be ignored. I have removed the text and as far as I can tell everything seems to be working as it should. May be someone could let me know what this is supposed to do, and why its where it is. <!-- Begin function confirm delete //--> <script type="text/javascript"> function confirmDelete(){ return confirm("Do you really want to Delete??"); } function confirmUpdate(){ return confirm("Do you really want to Update??"); } </script type"text/javascript"> Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
burt Posted April 22, 2016 Share Posted April 22, 2016 @@14steve14 put the js back in, but also remove both instances of type="text/javascript" so first line is just <script> and last line is just </script> Refresh page and see if it looks OK. Quote Link to comment Share on other sites More sharing options...
♥14steve14 Posted April 22, 2016 Share Posted April 22, 2016 Thanks for the response Gary. Did the changes and the page still looks the same. Cleared the page cache, and even tried shutting the page down and opening it again. If I could understand what it was supposed to do, I would know whether by removing the code something was not working, but when I tried in several places items were still deleted with the code removed. <script> function confirmDelete(){ return confirm("Do you really want to Delete??"); } function confirmUpdate(){ return confirm("Do you really want to Update??"); } </script><!DOCTYPE html> <html dir="ltr" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex,nofollow"> Funny thing is that i cannot remember my old sites page looking like this one does. All the text on the page including the admin header bits are all in large text. Remove this block of code and it reverts back to how it should be. This is the only page that is affected. For some reason that code is coming above the head tag on the admin database check page, even though its not called on the database check page until after some more code. The code in the database check file is <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); ini_set('max_execution_time', 300); //300 seconds = 5 minutes ini_set('memory_limit','128M'); include('includes/functions/dbcheck.php'); Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
burt Posted April 22, 2016 Share Posted April 22, 2016 I'm not familiar with this particular addon, but this: <script> function confirmDelete(){ return confirm("Do you really want to Delete??"); } function confirmUpdate(){ return confirm("Do you really want to Update??"); } </script><!DOCTYPE html> Quote Link to comment Share on other sites More sharing options...
burt Posted April 22, 2016 Share Posted April 22, 2016 Just downloaded it. Remove that script from includes/functions/dbcheck.php and instead drop it straight into database_check.php just above the </body> That might do it. Quote Link to comment Share on other sites More sharing options...
♥14steve14 Posted April 22, 2016 Share Posted April 22, 2016 I have just put it at the bottom of the file before require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); and the page now seems to load correctly, but as I dont know what the script is supposed to do, I have no idea if it is working correctly. I created a product with loads of errors, and using this addon I could delete it and alter it as required. Thanks for your help Gary. Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.