Change metalib.css File Location
- Article Type: General
- Product: MetaLib
- Product Version: 4
Description:
An ASP customer wants to locally host their metalib.css file because they're an ASP customer and can't access it on the server.
What files need to be modified?
Resolution:
The files and lines are:
end-session:<link rel="stylesheet" type="text/css" href="&server_css/&library/www_v_eng/metalib.css">
full-record-view:<link rel="stylesheet" href="&server_css/&library/www_v_eng/metalib.css">
institute-list:<link rel="stylesheet" href="&server_css/INS00/www_v_eng/metalib.css" type="text/css">
meta-tags:<link rel="stylesheet" type="text/css" href="&server_css/&library/www_v_eng/metalib.css">
meta-tags0:<link rel="stylesheet" type="text/css" href="&server_css/&library/www_v_eng/metalib.css">
pds-sso:<link rel="stylesheet" type="text/css" href="&server_css/&library/www_v_eng/metalib.css">
pds-logout:<link rel="stylesheet" type="text/css" href="&server_css/&library/www_v_eng/metalib.css">
pds-sso:<link rel="stylesheet" type="text/css" href="&server_css/&library/www_v_eng/metalib.css">
redirect-page x 2:<link rel="stylesheet" type="text/css" href="&server_css/&library/www_v_eng/metalib.css">
redirect-page-citation x 2:<link rel="stylesheet" type="text/css" href="&server_css/&library/www_v_eng/metalib.css">
Be sure to update your new metalib.css file so that all images are correctly pointing to the MetaLib server.
Possible lines include:
#tabs,#tabs_metasearch { height:28px; width:98%; margin-bottom: 0px; background-image: url(../icon_eng/v-bg_tab_off.png); clear:left; }
#tabs A,#tabs_metasearch A { background-image: url(../icon_eng/v-bg_tab_off.png); color: #919293; height: 24px; float: left; font-size: 15px; font-weight: bold; text-align: center; text-decoration: none; padding-left:1.5em; padding-right:1.5em;}
#tabs A.tabSelected,#tabs_metasearch A.tabSelected { background-image: url(../icon_eng/v-bg_tab_on.png); color: #727472; background-repeat:repeat-x; background-color:#ffffff;}
#tabs li span, #tabs_metasearch li span { float:left;background-color:#ffffff; width:14px; background-image:url(../icon_eng/v-bg_tab_on_ext.png); height:24px;}
/*for button type submit*/background-image:url(../icon_eng/v-b_go.png); background-color:transparent;width:36px; height:36px; color:#194e81; font-size:0em; text-align:right; cursor:pointer;}
#help div.banner {background-color:#464f58; background-image: url("../icon_eng/v-login_header.png");background-repeat:no-repeat; clear:left; width:304px; height:44px;font-family:arial; }
In order to test from a metalib.css file kept on your own computer (only the image corrections above are necessary, not the file changes at the top of this entry), in Internet Explorer, select "Tools > Internet Options > General > Accessibility". At the bottom of the "Accessibility" tab, there is an option entitled "User Style Sheet". Check the box labelled "Format documents using my style sheet" and then navigate to, and select your new style sheet using the Browse button. Select "OK" and select "OK" again to save your preferences and exit the "Internet Options" page. Close Internet Explorer and then re-open it again. Your new style sheet should now be active.
- Article last edited: 10/8/2013