Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter mschwarz6

    (@mschwarz6)

    Hi,

    thank you for your reply.
    I don’t have much in my Child-Theme Data…. pretty much only the code that is neccessary. No real need for a file-hosting.

    sidney-child/styles.css:

    /*
    Theme Name: Sydney Child
    Theme URI: https://athemes.com/theme/sydney
    Author: aThemes
    Author URI: https://athemes.com
    Template: sydney
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: sydney
    */

    sidney-child/functions.php:

    <?php
    /**
    * Sydney child functions
    *
    */

    /**
    * Enqueues the parent stylesheet. Do not remove this function.
    *
    */
    add_action( ‘wp_enqueue_scripts’, ‘sydney_child_enqueue’ );
    function sydney_child_enqueue() {

    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    }

    Thats it…

    When I create an empty element and give this element the classes .go-top
    and .preloader the Error disappears, since the js file:

    /wp-content/themes/sydney/js/functions.min.js?ver=20210120:1

    finds these Elements.

    Maybe this helps a little bit.

    Thank you for your time.

    Regards,

    Malte

Viewing 1 replies (of 1 total)