This forum is for assistance with theme development.

Adaptive theme, responsive menu

I have been setting up a Drupal 8 test site in which I use Pixture Reloaded theme, (an Adaptive theme subtheme) and have enabled the Adaptive Theme 'Extensions' utility and in particular, 'Responsive Menus'.

I use this for the main navigation menu (the horizontal menu displayed under the logo and site name). The responsive menu functionality works ok, but in addition, I need to make the menu links decrease their font size, when the screen width is within a specific range.

How do i change this markup from my.theme file?

Line 119 in \core\modules\search\src\Controller\SearchController.php

if (count($results)) {
  $build['search_results_title'] = array(
    '#markup' => '<h2>' . $this->t('Search results') . '</h2>',
  );
}

I want to change the "Search results" from my search page.

D8 - Change default node titles from H3 to H1

Hi, I am trying to change my default page/node titles from H3 tags to H1 tags in Drupal 8. It seems that they are H3 tags by default.

After enabling twig debugging, it looks like the output is coming from field.html.twig, however I don't see any H3 tags in the template markup. In other words, I'm simply trying to change the markup of basic page titles. Any suggestions?

-----

EDIT: Nevermind, I got it to work.

Zen Subtheming on Drupal 8 Question

I'm a beginner to Drupal and just started using Drupal 8. I have a question for subtheming with zen, in what location do I start writing my css/html for my website? Is there a specific file where I start to write all the css to or do I need to create one of my own? If I create a new file, do I need to add any other commands to another file to make sure it is executed when loading the theme?

Drop down menu in block

Hi,

Im want a dropdown menu in a block with HIDDEN submenus, when you cliuck on the parent it shows them.

I don't know how to do it.

Any idea ?

Thanks

Debugging Variables

Good Morning All,
Is there any way to debug variables in Drupal 8 twig templates or module files?
I have checked debug and kint but they very poor.
In Drupal 7 I used dpm, kpr, dvm, dsm and they were more than enough.
Thanks in advance

Pages

Subscribe with RSS Subscribe to RSS - Theme development