This forum is for assistance with theme development.

how to use bootstrap (theme) carousel in drupal 8

the BootstrapCarousel locates in the following folder. As I know in drupal 7 I could use bootstrap Carousel in a View, but in drupal 8, how I could leverage this plugin in my website?

bootstrap -> src -> Plugin -> Preprocess -> BootstrapCarousel.php

class BootstrapCarousel extends PreprocessBase implements PreprocessInterface 

Theming Inside Blocks in Drupal 8

Hi! I've been theming a webpage in Drupal 8 and I think I got an overall idea of how it works, but I have some issues I want to solve to advance devloping:

Drupal 7 + bootstrap 3.0 + dropdown navigation for tablet resolution

Hi I am working on Drupal 7.41 and I am using bootstrap 3.0. Bootstrap by default provides dropdown menu navigation for mobile resolution. I want the same for tablet resolution as well. Please help.

help to print two codes for two roles

hi... i'm not perfect in php

plz i need help to print two codes for two roles

if the author will make the comment i want to print that code

print $submitted;

and if others will make the comment i want to print that code

print render($content['field_commentnickname']);
print render($content['field_objects_commentnickname']);
print render($content['field_books_commentnickname']);

thanks

Registering new panel layout

Hello,

I've been following this guide on how to register layout pages https://www.drupal.org/node/2578731

However, after uploading my_theme.layouts.yml file I receive the following message 'The website encountered an unexpected error. Please try again later.'

My file structure looks like this...

themes/custom/qc/qc.layouts.yml
themes/custom/qc/templates/home/homepage.html.twig
themes/custom/qc/templates/home/homepage.css
themes/custom/qc/templates/home/homepage.png

Two div's, 1 fixed width

I just started working with Drupal one week ago.

I already searched 3 days and can't find a solution.

My website shows a thumbnail and the first lines of text (see http://www.denationalezorgcourant.nl). As you can see when there is no image the text doesn't fill up the whole space. I tried different things within the CSS but nothing works.

Hope someone knows the answer, I'm going crazy.

Pages

Subscribe with RSS Subscribe to RSS - Theme development