This forum is for assistance with theme development.

Where to place views-view-field.html.twig and under what file name?

Hi!

Where to place core/modules/views/templates/views-view-field.html.twig to overide it? I use bootstrap module so i tried with different names inside themes/bootstrap/templates/views but no one worked. Do I put it in the right directory? I tried to follow the naming convention like views-view-field--view_books_list--field_book_name.html.twig and some others but without any result. (My view has the view machine name view_book_list). Do you have an idea that would help me?

Thanks.

horizental recent post and responsive

Hello

how i can horizental design and reponsive for recent posts
for example: 4 content blocks in each row for wide screen and 3 content blocks in each row for tablet screen and 2 content blocks in each row for mobile screen

like this image:
http://picpaste.com/res-psWvxjb2.jpg

Add HTML tags in TWIG function LINK in template Drupal 8

Hi, all!
I have html code: <a href="about-us.html"><i class="fa fa-angle-right"></i> About Us</a>
In template this link output as {{ link('item.title, item.url) }}
If I added tag i to title: {{ link('<i class="fa fa-angle-right"></i> ' ~ item.title, item.url) }}

Button for slideshow

Hello,

Is there any widget for control buttons in D8 slideshow?

Edit link content

I used "Link" field for slideshow and add link addaress and title for it that works properly
but when checked code in inspect, I saw that this output for my link:
<a href="/address">title</a>
that i cant control this for css style because i havent any att or class name for it,

my question:
where i can, edit and add class for this link producer that put dynamic class for each link fields

https://i.imgsafe.org/0050009ce5.jpg

Theme customization

Hai everyone.,

Pages

Subscribe with RSS Subscribe to RSS - Theme development