Joomla template with bootstrap4

For me and my sister i made a joomla template. I did have a problem with the menus. Joomla did not add the css class needed for bootstrap 4 to work. I found that the javascript below to added the needed css-classes.


	$('#navbarSupportedContent>ul>li>ul').each(function() {
		$( this ).parent().addClass('dropdown');
		$( this ).parent().find("a").first().addClass('dropdown-toggle');
		$( this ).parent().find("a").first().attr('data-toggle', 'dropdown');
		$( this ).parent().find("a").first().attr('role', 'button');


Autodesk Inventor, Vault, Git, C#, vb, .net, php HTML, css, js


University computer science.
HBO Mechanical engineer.
MBO Fine mechanics.


Programmer and Mechanical engineer at Kelvion
(2016 - 20..)

Mechanical engineer at Strukton
(2009 - 2016)

Mechanical engineer at RDG-engineering
(2007 - 2009)

CNC Programmer at VMC
(2005 - 2007)

volunteer at Taizé


Objectgeoriënteerd analyseren en ontwerpen, Objectgeoriënteerd programmeren in Java, Webapplicaties: de clientkant, Databases, Security Aware Programmer, Web Security Specialist