This forum is for assistance with theme development.

Atomic Variables drupal 8 theme

Hello, I have a issue with some values that I'm getting with hook_form_system_theme_settings_alter. The point is this:
with this hook, I want to create a color picker with:
$form['color'] = array(
'#type' => 'color',
'#title' => t('Color'),
'#default_value' => '#ffffff',
'#description' => t("choose a color")
);
}

then, on the admin panel, the admin introduce the value of the color in HEX. 
In a php file, I can obtain the color value with this:

Two View Blocks don't line up in the same section - - Bootstrap 3 SASS Theme

I am new to CSS and Bootstrap, Kindly bear with me

I have two View Blocks using the display suite view mode of a content type to display as blocks. In Bootstrap Highlight SECTION.

I placed them one after another,  I assumed they will automatically line up in one horizontal row. As the width of First Row is col-sm-6

The next block's width is col-sm-3

but they don't get placed in same horizontal row.

How to theme a form? Render {{form}} elements separately in .html.twig template?

Hello Friends,

I have a simple form named BusinessListingSearchForm.php that looks as follows:

FIXED - 1px height block-header (related to bootstrap theme)

Hi,

I'm currently tuning a custom theme based on bootstrap.

My issue is that header zone is always at least 1px height, even if empty. You'll see it here https://pit68.be/drpl/recherche just between banner at content.

Call region in node article

Hi,

I've a region named "sidebar_right" and I want to call it in node--article.html.twig to have this structure (image with structure)

https://imgur.com/a/3Osfm2P

but I don't see how to make that ... I've found this tuto https://atendesigngroup.com/blog/making-region-content-available-node-te... but don't work.

Any solution?

Thanks :)

Ho do I disable theme debug?

I enabled theme debug on my drupal 7 installation using drush vset theme_debug 1, But Now I can't disable theme debug using drush vset theme_debug 0, What the wrong, Is there any wrong or typo mistake in the drush command above?

I also tried to comment out $conf['theme_debug'] = TRUE; in the settings.php and then replaced with $conf['theme_debug'] = FALSE; but none works.

Any help and suggestions on this issue?

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Theme development