This forum is for assistance with theme development.

Bootstrap 3 child theme is not loading style.css

Hi all,

I made a Bootstrap 3 child-theme for further theming, but it does not appear to be loading the custom css-file "style.css" located in the CSS directory.

The child-theme itself is loading correctly, it just does not display any custom CSS in that file, and if I'm seeing this correctly, the file is not even loaded in the page-head.

What am I missing here?

Regards,

Gerrit

Different block templates for menu

Hello guys. How can i create different block templates for same menu? Main for example. It's possible at this moment? I tried to copypast everything from menu.html.twig to my custom block block--navbar-menu-primary.html.twig but it's return me empty container. Any ideas or docs?

Drupal 8 - Sub theme of Bartik - Override Bartik css

Hi!

I have a sub theme called Mixtbaby, the base for the sub theme is Bartik.

This is in working order.

Now I want to override the Bartik css for the footer, with my own Mixtbaby css.

I cannot get it to work.

Can you help me with this? As far as I can see, I am doing everything as I should do it according to the Drupal 8 docs.

This the code that should do the trick, but it doesn't override the Bartik css with my own css:

mixtbaby.info.yml:

Drupal 8 User profiles and comments

Hi guys,

I'm in the process of writing a new theme for a community site I'm working on.

At the moment, I have a custom user.html.twig which contains layout HTML and twig elements.  I also have a comment.html.twig which contains layout HTML and twig elements.

The problem I'm having is that on a page with comments, when I try and print the {{ user_picture }} it prints the entire user.html.twig - HTML and all. 

I've searched for information about theming user profiles (and maybe user.html.twig isn't the right way), and cannot find anything substantial to help.

Added animation create from Adobe Animate CC

Hello,

I have create an animation from Animate CC that I want to add on my website (Drupal 7).

I don't know what is the best way to integrate it.

I get :

- html file
- js file
- images on images directory

I think to add an iframe but I don't know if it is the best way.

Where to load thoses files ?

site/default/files/animations/

How can I do ?

Thanks in advance

Is D8 sub-theming possible for ALL themes ??

Hi all,

Have tried to manage the sub-theme working for 3 themes I use for my sites. The only working sub-theme is for Bootstrap theme two other used 2 days with no results.

For me it seems the original theme has to be prepared for sub-theming. 

I am right ?

The other issue is I have found no deep enough tutorial on what files has to be defined for simplest sub-theme. In most cases it seems you have to copy most of the original files. 

My understanding is just info file should be enough ... but is not.

Pages

Subscribe with RSS Subscribe to RSS - Theme development