Drupal: Custom CSS not integrating -


i started using drupal new website trying build. front-end focus on , i'd use external services integrate backend functions. in (and potentially on) want start using drupal. now, have installed bootstrap module , want start adding own css there can't seem figure out how/where. can't straight bootstrap style files - apparently - need create own theme , place css files in there. have done far:

1: have css file code. 2: created new folder next bootstrap folder in sites/all/themes. 3: put css file in there. 4: created my_theme.info file.

but not resulting in changes on website (it not show in source code) because not being called drupal. how can make sure drupal calls css code?

thanks in advance , take care!

assuming drupal 7 (drupal 8 uses yaml)

  1. create subtheme of theme choose.
  2. in yourtheme.info add line stylesheets[all][] = css/style.css
  3. in yourtheme/css directory, here can start writing css rules in file style.css
  4. make sure caching off or else not see css being updated.

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -