This forum is for assistance with theme development.

HTML Decode of Term Field

Hi Everybody,

I'm stuck with a problem of which I tought I could solve it in a few minutes. Hope you guys can help me out here :-)

I'm trying to show the content of a styled textfield of a taxonomy term. I'm able to get the value of that field:

What theme hook should I use for the book content type?

I want to change the page template for the book content type.

I have tried: page--node--book.html.twig, page--book.html.twig, page-book.html.twig, page--node-book.html.twig but none of those work. What theme hook should I use? I am using Drupal 8. Thank you.

D8 - trying to create subtheme of bootstrap - theme not being recognized

I have done some D7 subtheming, but D8 is not recognizing the subtheme.

Bootstrap theme is installed.

Subtheme directory named:

fate_bootstrap_subtheme

yaml file is named:

fate_bootstrap_subtheme.info.yaml

The starting code in the yaml file is as follows:

theme_field() is not invoked for add/edit forms

I am trying to wrap a div around a field's label using theme_field(), but it looks like my theme_field hook is not invoked for add/edit forms, but it is invoked for view form. My theme is called "maintheme". I put the following code inside template.php:

drupal seems to use different CSS after flushing cash, refresh and flushing cash again

HI there, after painful fight I managed to style differently views in different blocks. Before that I couldnt manage that and all blocks used the same style and everything.

Now, I created the correct css classes and after flashing all cashes it looks as desired. But when I click on refresh the page button, I get the older look of the page, where the blocks use a different css obviously. Probably it is some css provided by Views module?

Change Stack order for Content & Sidebar Second Blocks

I humbly beseech the laudable drupal gurus to help me with this seemingly complex task.

As stated in other posts I am not a drupal expert NOR a programmer. We inherited this drupal site when I started in my current role and have been winging it and learning as we go since.

The main issue we would like resolved is the stack order for our page content. Our pages are not complicated but need some fine tuning.

Pages

Subscribe with RSS Subscribe to RSS - Theme development