This forum is for assistance with theme development.

Color picker missing in subtheme

Hello,

I am in the process of upgrading from D7 to D8.5.3. Under D7 I had created a subtheme of Bartik. When trying to migrate this subtheme to D8 I cannot see the color picker displayed so I can adapt the colors. The yml-file does ofcourse exist...

Thanks for any hints
 

Block Positioning

I've finally taken the plunge, and decided to do my own theming. I'm using Drupal 8.5.3 and creating a Sub-Theme of the Bootstrap 8.x-3.11 theme using the SASS starter kit. 

This is my first attempt at my own theming, so I'm still learning my way through the fog. 

changed values in pre-process hook are not getting reflected in twig

Hi 

I am new to Drupal theming. I have a scenario where 
I need to toggle the Left Menu display based on user action via Javascript. 

Which means, 
(1) Left Menu should be hide with out page refresh, 
(2) if I hide Left Menu in page-1 and navigate to page-2, in  page-2 Left Menu should not be visible.

to achive this, i created a cookie via javascript under path '/'.

and reading the cookie and storing that cookie value in a variable in theme_prepprocess_page()

based on the variable value in the twig template hiding the Left Menu. 

How to check if current page is a contact form?

In page.html.twig, I want to have a different sized column (bootstrap theme).

For that, I wanted to know if current page is a contact page or not. And, for taxonomy too.

In twig, I tried: url('<current>'), which gives me current URL.

But, when I tried twig string functions like:

{% if url('<current>') ends with 'contact' %}

I tried "in" too. But, every function returns false.

Is there any better way to know if current page is contact/taxonomy page?

Cache issues when using Boolean in views

I'm using boolean values to try to control whether content shows on some pages - admins simply click a check box which should then allow content to show on a page.  Issue is that the content is only changing on the front end after I flush the caches.  

The boolean value is being checked in filter criteria in a view. 

Any ideas on where I'm going wrong / how I can get content to change on the front end without a manual cache flush? 

I cant find place to change one of the structure/block

Welcome

Iv got some important information on content in 1st start page that is showing only for guest. But i cant found where can i change it.. i done it lottime ago when i was configure site but now im confused and still cant found where should i have it.

Its saying - > Access denied You are not authorized to access this page.

Site code placemante -

<div id="main" class="grid_8">  

Pages

Subscribe with RSS Subscribe to RSS - Theme development