Change layout of the cards for research page #202
-
How do I change what the layout of each publication card on the research page looks like? Not just the CSS styling, but what information is included in it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The card component is styled with css in You'll have to be more specific if you'd like more specific help. |
Beta Was this translation helpful? Give feedback.
-
Yes, I meant the citation, thank you so much! |
Beta Was this translation helpful? Give feedback.
I think you're referring to the "citation" component, not the "card" component. I edited my comment above to reflect that.
You can remove the publisher info (or just the default "[no info]") from the citation component on this line:
https://github.com/greenelab/lab-website-template/blob/main/_includes/citation.html#L57
You can edit the citation styles in this file:
https://github.com/greenelab/lab-website-template/blob/main/_styles/citation.scss
If you're using the citation component on the blog page as well, yes, changing that will affect the citation component everywhere... If you need to have it look different in different places, that's beyond the scope of what the template provides, …