This forum is for assistance with theme development.

Drupal 8 bootstap barrio center bannerslider howto

I have a drupal 8 version site (work on progress) and added a bannerslider in the top-header region.
and nothing in the left and right region in the top.

How can I center the Image above the side (now it is alligned left
Tried several bootstrap tricks but with no succes fo far

Google Translate changes HTML - Removes link

Hi there,

I have recently developed a website for my local council, and am having some trouble getting Google's online translate feature to work on a specific portion of it.

The website currently uses Bing translate successfully, but the business have asked to move to Google translate as my local area has a large population of people who speak languages not supported by Bing Translate.

Custom Theme and Layout Builder

I've got a custom theme that I'm using on multiple sites, the issue is I'm trying to incorporate Layout Builder and when I add a custom block that has a twig file it will not allow me to edit or delete the block. I found that some out of the box themes have patches but there is nothing that I can find for getting this to work if you have a custom theme. Can anyone point me in the right direction to get this to work with my custom theme?

Upgrading D7 to D8, cannot use jquery from core or theme breaks

Upgrading site from D7 to D8. No custom modules. This is my base libraries.yml file.

global-assets:
  version: VERSION
  css:
    theme:
      css/cheslalitportal.css: {}
      css/icomoon.css: {}
      css/cheslacustom.css: {}
  js:
    js/main.js
  dependencies:
   - core/jquery

When everything is enabled

Import fontawesome 5.12.0 hosted locally [SOLVED]

Hello.

I'm creating a new theme from 0 and want it to be the most self-contained, hosting locally all the stuff I can and depending the less on modules.

I'm trying to use the latest font awesome (5.12.0) importing it in the same way I did before with 4.3.0 :

In mytheme.libraries.yml :

fontawesome:
    version: 5.12.0
    css:
        theme:
           vendor/fontawesome/css/fontawesome.min.css: {}

In mytheme.info.yml :

possible to create a custom block (with content) at theme installation?

Greetings,

is it possible to create a custom block (with content) at theme installation with a "/config/optionnal/configuration-file.yml"?

i know already how to place a native system block with "/config/optionnal/configuration-file.yml" but i am wondering if it's possible to create a custom block with content whit it.

I saw in a theme that it's posibble to create a new type of block whit "/config/optionnal/configuration-file.yml", so it might be possible to create a basic custom with content i suppose.

Thank you

Pages

Subscribe with RSS Subscribe to RSS - Theme development