This forum is for assistance with theme development.

How I can add data-toggle="modal" into existing menu item link?

Hi there,
I am a newbie, and I want do modal window using Bootstrap 3.
I need:
- add into existing Drupal menu item (in tag <a>) attribute data-toggle="modal",
- change link path to href="#myid" (but I have an error "The path '#myid' is either invalid or you do not have access to it.")
The problem seems easy, but I can not solve the problem.
How can I do it?
Thx for all answers.

[DRUPAL 8] How to access specific fields data using twig on BOOTSTRAP THEME

Hello everyone!

I appologize if this subject was already covered, but I didn't find yet anything that can clearly answer my question.

Steps to upgrade theme to responsive

Hi all, i have an existing drupal site and i use Corporate Clean v. 1.5
which is not responsive.
I want to make whole shite to be responsive.
The latest release of Corporate Clean (2.3) is repsonsive.
The problem is that i have a lot of custom code in style.css.
,template.php and page.tpl.php
and a lot of changes in my current theme style.
I also use the Display Suite module for my layout to whole site.

[Solved] template_preprocess_hook is affecting all my pages

Hi

Having a small issue using template_preprocess_hooks.

The below snippet works, though affecting all regions on all pages. How do I change the code so it only renders on a certain page/s I designate?

For example, I only want this to work on the 'About us' page.

Content Type, Assign Theme, Drupal 8

This may be a newbie question but In the Theming Guide it says:

It is also possible to "theme" only certain sections of a site, certain types of content, or even individual pages.

Trouble in adding custom blocks in Primary-menu region.

Hi,
can anyone help me out to add multiple custom blocks in primary menu in the bartik theme.Thanks in advance :)

Pages

Subscribe with RSS Subscribe to RSS - Theme development