This forum is for assistance with theme development.

How to make group inside group?

How to make group inside group in Theme Setting page? Or wrap some elements inside group. See this image:

https://pasteboard.co/MnAuoD3XPAHz.png

[solved] question about overriding libraries

Please help me with this question about overriding libraries:

I have a mastertheme, a subtheme and a subsubtheme
subtheme is a subtheme of mastertheme and subsubtheme is a subtheme of subtheme

in mastertheme.libraries.yml, mastertheme defines the masterlibrary as:

masterlibrary:
  css:
    theme:
      css/theme/file.css
    
in subtheme.info, subtheme overrides this library as follows:

My Drupal 9 site is not reading the custom page--user--login.html.twig files I created.

I am creating custom user (login) pages for my Drupal 9 sites.  I have ensured that the files follow the Twig naming conventions and are in the correct folder:

app/web/sites/site-name/themes/our-uikit-theme/templates/user/page--user--login.html.twig

How to render dropdown menu

Myself (Emka) Emmanuel Katto From Uganda.

Drupal no-conflict jQuery

Hi!!

Need help to implement Drupal's no-conflict jQuery!

how to avoid jquery conflict in the web site :

here is the problem  :

  • "Uncaught TypeError: $.cookie is not a function"
  • "Uncaught TypeError: $.fn.tooltip.Constructor.DEFAULTS is undefined"
  • "Uncaught TypeError: $.fn.popover.Constructor.DEFAULTS is undefined"

Please some one can help to fixe this ?

Twig if statements for content type

I have created a view which lists teasers from articles on a Blog page with links to the full articles. This has been styled with node--article.html.twig and for the most part this works fine.

However, I want the H2 title visible on the Blog page, but have it hidden when viewing the full article (will use the H1 tag from the normal page title block instead) .

I was able to find some references for this, but these don't appear to be working in D10.

Pages

Subscribe with RSS Subscribe to RSS - Theme development