- Issue created by @mr.pomelov
- Status changed to Closed: works as designed
about 1 year ago 9:17pm 23 September 2023 - 🇨🇭Switzerland saschaeggi Zurich
You have plenty of options:
- You can use
gin-custom.css
, see Gin documentation.- You can override the template
- You can use a preprocess function to remove it
So closing this as we won't add dedicated support for it.
Cheers
- 🇷🇺Russia mr.pomelov
Thanks for the feedback. The first thing I did was I wanted to redefine the template to those in the module folder, but this element is not rendered separately there. It looks a bit complicated for a beginner. In my case, the changes are reduced to prescribing the "display: none;" property to the element in CSS. I created a css file according to the documentation with the name "gin-custom.css", registered everything necessary there, but I don't see any changes. It's not clear from the documentation - does this file have to connect itself or do I need to add it as a third-party css library in the theme info file? In one of the answers you write that you need to add a file as libraries-extend, could you show an example of how to do this? It would also be an ideal addition to the documentation. A similar problem is described here, but here a person wants to add a file to his topic, it is not clear whether he succeeded or not: https://www.drupal.org/project/gin/issues/3316350 →