Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In general often it is not clear to me where to put the CSS to make change to the layout of something in Drupal.
For me too often there are too much possibilities. As in this issue about the Views Slideshow.
I want to add CSS script to make the thumbnails show next to onanother instead of underneath one another.
But where do I add this..?
I see 3 possibilities and don't know which one to use.
- In the style.css of the theme
- in the slideshow.css
or
- add CSS in the block that goes in a region??
Comments
Comment #1
rsrocha CreditAttribution: rsrocha commentedI normally add it in style.css. If u modify slideshow.css, when the module is updated, the slideshow.css will be changed to the new module version css.
But u can add slideshow.css in your theme's folder i think, but then u will need to add the css file in template.php (something like:
drupal_add_css(drupal_get_path('theme', 'YourThemeName') . 'slideshow.css');
- not really sure about this)Comment #2
NickDickinsonWildeBest to do it in your theme. 7.x-3.2+ have a bit better default styling of pagers.