This forum is for assistance with theme development.

Overlay Text On An Image in Drupal 7 is quite easy

I want to add a text on my about us image. where it is placed in a home page in a footer section. When I hover on about us image I want to display something text. how can I achieve that in drupal7? please do a favour... thanks in advance.

Flexslider is not working

Hi,

I am trying to get Flexslider to work. I am mimicking a sample Drupal 8 install with Flexslider installed and working but the javascript doesn't seem to be working on my site.

My site is www.debitsandcredits.com.

I am using Drupal 8.4 with Foundation 6.

Here is my libraries.yml file:

Theming a form

Hello,
I am a beginner with drupal, I make a personal theme, I understood how it works for pages, blocks, views, ...
I would like to format the form 'feedback', and integrate it completely to my theme, but I block.
I found some info on google, but nothing helps, I can not.
I can not fit the fields one by one.

I do not know if I'm clear enough ...

Does anyone have an idea?

Thank you in advance :)

Views custom block twig template d8

Hi,

I'm trying to make custom grid inside block that is generated with views. I've made a file with a name that was suggested by twig debug. But I can't get any content inside it. I've read some data with _context twig functions, but can't get nor elements neither content (out of memory loop).

My file name is: block--views-block--paski-block-1.html.twig . I've tried the variation block--views-block--paski-block-1--list.html.twig but nothing happened then.

I want to achieve something like:

Twig debugging problem

Hello,

I've read that to activate twig debugging you have copy development.services.yml to the default directory, rename it to local.services.yml, remove: 

parameters:
  http.response.debug_cacheability_headers: true

and add:

parameters:
  twig.config:
    debug: true
    auto_reload: true
    cache: false

at the end of the file.

theme install preprocess

is there a function that allows to do something whenever a theme is installed?

for example, I want to generate a content whenever a theme is installed.

Pages

Subscribe with RSS Subscribe to RSS - Theme development