This forum is for assistance with theme development.

Add sample content when installing custom theme ?

Hi guys,

I searched around in documentation and haven't found a clue so far : Is there a way to create sample content upon theme install ?

I managed to create a content type itself and a custom block too but I would like to add, when installing the theme, a sample content of each to demonstrate what it looks like once theme installed. Up to the end user to modify or delete it.

Thx

Entity Print

I apologize if I was wrong where to post
I have to do some printouts (some very complex) and Entity Print should be fine
I read the article of this link https://www.drupal.org/docs/contributed-modules/entity-print/usage and installed the module.
Then as described I updated the bartik.info.yml file with this code

Captcha image very large on Octavia/Bulma template

Hi, I have just installed and enabled captcha and captcha image, but the image is larger then the 288px. See here for an example.

https://rootsd936.fred-baltus.nl/contact

<img data-drupal-selector="edit-captcha-image" src="/image-captcha-generate/51/1645962877" alt="Beeld-CAPTCHA" title="Beeld-CAPTCHA" loading="lazy" typeof="foaf:Image" width="288" height="72">

What must or can i do to get it in control and have the measures in as in the code?

Content with columns of different size in a row that repeat the cycle

Hello everyone I’m new in drupal and I love it. I should create a slider with columns of different size in a row, like this theme. https://preview.colorlib.com/theme/foodeiblog/. The slide should contain the last recipes inserted. The problem is in the different sizes and and that must be repeated.

how to override drupal.autocomplete jquery position?

Hi

The module is calling drupal.autocomplete.

I've tried to debug what this calls and it looks like its the autocomplete.js within the core jquery.ui folder.

This is positioning a div as absolute then using offset to make the div look as though it is a dropdown on the autocomplete form element.

As the position is being set through jquery it can't be overridden in CSS.

Do I just create a custom jquery function to alter the offset position.
Or is there a drupal specific way of overridding the offset?

Pages

Subscribe with RSS Subscribe to RSS - Theme development