Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

Main.js folder and some custom css does not work in mobile

This topic is resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • sercan
    • 3 Topics
    • 8 Posts

    I am trying to add a multistep form to my website usind css, html and php. There are no issues with the code itself but i am having problems when adding the js code. I added it to the main.js folder in the child theme but the code works only on the computer not on the mobile phone. I am planning to add more custom js codes but there is this problem.
    And some css codes also do not appear on the mobile version.
    Can you help?
    Thank you

    here its my code
    main.js folder

    'use strict';
        yoda: [2, "always"]
     * main.js
     * Theme enhancements for a better user experience.
        $(function() {
            $(document).ready(function () {
        var navListItems = $('div.setup-panel div a'),
                allWells = $('.setup-content'),
                allNextBtn = $('.nextBtn'),
                allPrevBtn = $('.prevBtn');
    (e) {
            var $target = $($(this).attr('href')),
                    $item = $(this);
            if (!$item.hasClass('disabled')) {
            var curStep = $(this).closest(".setup-content"),
                curStepBtn = curStep.attr("id"),
                nextStepWizard = $('div.setup-panel div a[href="#' + curStepBtn + '"]').parent().next().children("a"),
                curInputs = curStep.find("input[type='text'],input[type='url']"),
                isValid = true;
            for(var i=0; i<curInputs.length; i++){
                if (!curInputs[i].validity.valid){
                    isValid = false;
            if (isValid)
            var curStep = $(this).closest(".setup-content"),
                curStepBtn = curStep.attr("id"),
                prevStepWizard = $('div.setup-panel div a[href="#' + curStepBtn + '"]').parent().prev().children("a");
        $('div.setup-panel div a.btn-primary').trigger('click');
             * jQuery code goes here...
    Themosaurus Support
    • 0 Topics
    • 2062 Posts

    Hi @sercancs,

    I’m sorry to inform you that changing and debugging this is considered customization work. Unfortunately, this is a service that we do not provide.

    We only share snippet only to solve issues with our theme. Any further request for CSS snippets will have to be part of a defect that needs to be fixed urgently. No snippets will be shared otherwise.

    If you want to go further with the customization of your website, we advise that you hire a freelancer to do it for you.

    If you’re on a tight budget, we recommend you to require the services from Envato Studio freelancers ( This web platform gives you access to developers who have already experience with theme customizations, and for very competitive prices.


Roboraptor 🦖
Themosaurus Topic Closer

Hi there,

This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!

Best regards,
The Themosaurus team.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Main.js folder and some custom css does not work in mobile’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.