Browse Source

css and js

master
rdrew 1 month ago
parent
commit
6288f93c38
  1. 8
      css/theme-overrides-scholar.css
  2. 6
      js/theme-overrides-scholar.js

8
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;
}

6
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);
});
Loading…
Cancel
Save