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)
- create subtheme of theme choose.
- in
yourtheme.info
add linestylesheets[all][] = css/style.css
- in
yourtheme/css
directory, here can start writing css rules in filestyle.css
- make sure caching off or else not see css being updated.
Comments
Post a Comment