diff --git a/css/theme-overrides-scholar.css b/css/theme-overrides-scholar.css index 45489a4..a9f16bd 100755 --- a/css/theme-overrides-scholar.css +++ b/css/theme-overrides-scholar.css @@ -1,3 +1,9 @@ +.field--name-field-orcid .field__item { + display: flex; + .orcid-id { + margin: 0 .4em; + } +} .test { -background: #000; + background: #000; } diff --git a/js/theme-overrides-scholar.js b/js/theme-overrides-scholar.js index e69de29..14fabce 100755 --- a/js/theme-overrides-scholar.js +++ b/js/theme-overrides-scholar.js @@ -0,0 +1,6 @@ +/* Load jQuery. +--------------------------*/ +jQuery(document).ready(function ($) { + var orchid_name = $(".field--name-name a").text(); + $(".field--name-field-orcid .field__item").prepend(orchid_name); +});