Category: Drupal

Drupal development. Sreyas It Solutions is top software development firm provide support all over US Uk Spain Italy Canada
  • How to add external/internal files to the Drupal 8 theme

    How to add external/internal files to the Drupal 8 theme

    This page explains how to add an external/internal style sheet or javascript file into the Drupal 8 theme. Use the below code in THEME_NAME.libraries.yml global-styling: css: theme: css/style.css: {} ‘https://fonts.googleapis.com/css?family=Fira+Sans:300,400,500,700’: { type: external } # lib: # lib/mulihu-scrollbar/jquery.mCustomScrollbar.css: {} version: VERSION js: js/owl.carousel.min.js: {} # lib/mulihu-scrollbar/jquery.mCustomScrollbar.concat.min.js: {} dependencies: – core/jquery – core/drupal

  • How to render block in Drupal 8 theme template.

    How to render block in Drupal 8 theme template.

    Drupal is content management software and websites and applications developed using Drupal have easy content authoring, reliable performance, and excellent security. To render block in a Drupal 8 theme template, allows a theme to have nearly complete control over the appearance of the site, which includes both the markup and the CSS used to style…