How to create a custom theme for Drupal 9 and Drupal 10

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ต.ค. 2024

ความคิดเห็น • 5

  • @kingpin4152
    @kingpin4152 หลายเดือนก่อน

    Is it possible to create themes per block? Or at least someway to connect a single css file to a block for styling?

    • @visatit
      @visatit  หลายเดือนก่อน +1

      You can attach specific block to the specific theme in
      Admin -> Structure -> Block layout
      You can also attach css file to block, you need to define a library and add to custom block render array.

    • @kingpin4152
      @kingpin4152 28 วันที่ผ่านมา

      @@visatit Would you consider making a video tutorial for it with some simple examples? Would be much appreciated. the video would be a more in depth tutorial on how to customize your drupal 10 site using css/html and creating blocks

  • @umairali1100
    @umairali1100 5 หลายเดือนก่อน

    It is not a complete tutorial

    • @visatit
      @visatit  5 หลายเดือนก่อน +1

      Thanks for the comment, this video covers topics like
      - Creating a custom theme
      - Define the regions
      - Overriding the twig file
      - Adding assets (CSS, JS) to a Drupal theme via *.libraries.yml