i see that you are using a template , you can ask directly the developers of the template in a Q&A / Forum or directly message them about your problem , i refrain from giving you any straight answer to the problem because most templates aren't friendly to alterations in their functionality.
Hope my answer helped. Cheers