[ckan-dev] Link colour in introductory text box

Aaron McGlinchy McGlinchyA at landcareresearch.co.nz
Thu Jun 19 04:48:34 UTC 2014


Is it possible to specify the link color in the introductory text box?

I have edited the (sysadmin) config options and tried using this code in the custom css box (in addition to some other code that modifies image and sets text size, color...):

a:link {color: #000000; text-decoration: underline; }
a:active {color: #0000ff; text-decoration: underline; }
a:visited {color: #008000; text-decoration: underline; }
a:hover {color: #ff0000; text-decoration: none; }

But depending on where in the exisiting CSS code I add it, it either does nothing, or stuffs the whole site up.

Existing CSS :
.hero { background: lightsteelblue; }
.hero { background-image: url("/base/images/LCR-ckan-homepage-background.jpg");}

/* Remove the feature image */
div.hero section.featured.media-overlay {
display: none;
}
/* Style up front page */
div.hero header {
background-image: url(http://www.landcareresearch.co.nz/__data/assets/image/0015/15504/6-Measuring-Biodiversity.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
height: 264px; /* 185 = works in both IE and Firefox, 250=good, 264=height of main background image */
padding-top: 15px; /* originally was 42, but 24 works better in IE at height 185 */
padding-bottom: 75px;
border-radius: 3px;
font-size: 1.8em;
font-weight: normal;
color: white;
text-shadow: 2px 2px 2px black;
text-align: center;
line-height:120%
}

________________________________

Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz



More information about the ckan-dev mailing list