Why does my site change my CSS for me?

后端 未结 1 1005
生来不讨喜
生来不讨喜 2021-01-23 12:37

I have jssor slideshow module installed on my drupal 8 site. I am trying to have the arrows on the slides to navigate the slideshow. The problem is something is adding

相关标签:
1条回答
  • 2021-01-23 13:31

    Have you tried adding display: block !important; ? I often have to use the !important to stop my CSS being overridden by other modules.

    The preferred method of resolving this kind of issue is to ensure that the CSS files are being loaded in the correct order (it is Cascading Style Script after all). However in this instance, and as is often the case with CMS type sites (or those where you don't have access to changing the loading order of the CSS files), the !important declaration is the solution.

    0 讨论(0)
提交回复
热议问题