This forum is for assistance with theme development.

Rename theme folders

Hello guys , i apologise if this question has been posted elsewhere in the forum but i did check pretty thoroughly. i am new to drupal but i have done several sites using drupal now. i bought this theme from themeforest and i feel like i want to change and/or rename folders and maybe modules if possible. i have done some research and found some ideas about altering the .info file, libraries files etc but it doesnot work for me. what i want is remove all cases of this theme creator and replace it with my company name, so i will appreciate a step-by-step help to totally achieving the same.

Drupal 8 problem with html--front.html.twig

Hi,

I develop a custom theme..

I have the page.html.twig where I develop the structure I want to have on all pages. Everything works fine.

But I want the front page to have a different structure so here is where the trouble begins. I have make a html--front.html.twig file.  After that it shows me nothing only the logo of the website..

What should I do?

Thank you.

Views and twig : bug with token values in variables

Hi,

I have some problems with Twig in Views, when comparing two values. Even if two values are the same, they are not considered as such. This is the code I put in Views, section Header, option non-filtered text :

Code example 1

(with value of hello as a string, and compared with another value treated as a string): 

Bootstrap Drupal 8

Hello.

I'm new to Drupal 8 and i have 2 questions.

1) Bootstrap is available on the core on Drupal 8 and that means i don't have to download the bootstrap theme?

2) A solid guide to start develop on Drupal with bootstrap.

Thank you!

Drupal seems to at times change the ID on form elements

Hi all. I've just noticed something for the first time today. In some content that was in draft mode and not published, I pulled a CSS selector of a button to use in the theme CSS.

Normally the selector would be of this form:

#edit-submitted-cv-upload-button

But when I put it in the CSS I noticed that it had '--2' appended to the end, like this:

#edit-submitted-cv-upload-button--2

Then when the page was published the selector was, as expected, #edit-submitted-cv-upload-button, but as also expected now the CSS was broken.

Replacing images in strips

Is there a way to replace images in a strip in Drupal 7? This functionality does not seem to be working at the moment. 

Pages

Subscribe with RSS Subscribe to RSS - Theme development