This forum is for assistance with theme development.

Accessing node values with Kint()

Hello everyone,

I'm still new to Drupal 8 and I was wondering if some can help me with accessing node values with kint(). I've tried everything. {{ kint() }} gives me the following:

Screen Cap

Add iframe in the custom template

Hello,

I have 2 custom templates: page--slideshow.tpl.php and mypage.tpl.php. I want to use iframe tag in page--slideshow.tpl.php to call mypage.tpl.php but it did not work. (Drupal 7)

content of page--slideshow.tpl.php:
======================

An AJAX HTTP error occurred. (Bootstrap theme)

I'm very new to Drupal (never used it before) and I tried to install a theme (on a brand new 8.2.7 installation). I'm running off an Apache development server, I saw this thread https://github.com/kalabox/kalabox/issues/1767 but it doesn't make any sense to me, nor can I find the files they're referring to. Please help!

Installing bootstrap

An error has occurred.
Please continue to the error page

How to render menu items with HTML IDs?

Hi, I'm developing a Drupal 8 theme for a project.

And I need to output unique IDs attributes to implement specific styles from the CSS.

But I can't figure out how to do this. The variables available from the template are as follow, and clearly there is no way to fetch unique IDs.

Annoying SuperFish menu space

Hi everyone,

I'm using Superfish in Drupal 8 and I've noticed that wherever I place the Superfish menu I always end up with an annoying top margin of the menu. I have looked into the Superfish .CSS but I couldn't understand how this space is developing. Can anyone help please ? Thank you in advance.

Screen Cap

Spacing between rows in menus

Hi Everyone,

I am using the Garland theme for a new intranet I am creating and I've run into a problem that I can't figure out. I have several menus on the left sidebar which work fine. But the spacing between them is greater than I would like. Does anyone know how to decrease this spacing? I assume I would have to modify the style.css file for the Garland theme, but I don't know which section/line. I've included am image to show what I am talking about. Any help is greatly appreciated.

Pages

Subscribe with RSS Subscribe to RSS - Theme development