This forum is for assistance with theme development.

Polls module - problem with mobile

Does anybody know why modules Polls do not work on mobile devices? Everything is okay either on the desktop or laptop. Mypoll.uk - there is a link to the polls (left sidebar) and if you click on it there everything looks okay but not when you use any mobile. It works only on the desktop. The Drupal version is 9.4.8. Any idea what is going on? 

Yours Faithfully 

Drupal User :) 

Twig in site folder not overriding core files

I am trying to format my login page.  Using the twig debugging, I see that the suggested twig file is page--user--login.html.twig.

It's a multi-site Drupal folder.  So I've created that file and put it in app/web/sites/mysite/themes/uikit/templates/layout/page--user--login.html.twig

But almost nothing I modify in that file, or in the entire layout folder shows on the site.

The twig debugger shows that the site is reading template files from outside of the sites folder.  For example:

Charity Zymphonies Theme 2.0.2

Hello! Has anyone a documentation of this theme?Thanks

How can I build 2 or 3 columns in Olivero (Webtheme)

I use the Webtheme subtheme of Olivero .

I want to add view blocks in the main region:

PART1 - PART2

Like this https://prnt.sc/8qFkfgYASTW4 (or https://screencast-o-matic.com/i/c3XQbjVuPGI)

and at the screen resize (for small devices) to be

PART1

PART2

.

I'm interested if somebody has some examples of good practices with Olivero to make this.

Unable to read/compare title of page

I have the below twig file where I would like to skip the page title, in case the title is a specific text (let's say "SkipTitle").

However, I am not able to compare the value of title - e.g. like 

{% if title =="SkipTitle" %}  

Have tried a lot - also using title.value, title.label etc. But not sure how to actually access the text value of title.

Anyone who can help, would be much appreciated.

Pages

Subscribe with RSS Subscribe to RSS - Theme development