• Resolved vipteam

    (@vipteam)


    A completely new installation. No plugin activated. Top Left and Top Right Menu destroy Banner section. Take a look at:

    Problem 1

    Problem 2

    SOLVED: After I deleted the top menus, both, banner return to normal.

    Problem solved

    Is this a bug?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter vipteam

    (@vipteam)

    My test page is localhost. I am now working with XAMPP. But I can send migration file that is exported from the All-In-One WP Migration plugin.

    Can I send it to your email? Or link for download?

    Theme Author lyrathemes

    (@lyrathemes)

    No, I won’t be able to test using that. I have already tried what you detailed but am unable to replicate. Which browser are you using? Does the demo at https://demo.lyrathemes.com/vega work for you?

    Thread Starter vipteam

    (@vipteam)

    Not a problem in the browser (cache cleared). I normally see your demo at https://demo.lyrathemes.com/vega

    I use the following browsers:

    Mozilla Firefox v50.1.0
    Pale Moon v27.0.0
    Google Crome v54.0.2840.99

    I do not see any reason. Everything is OK. At least so it seems.

    OK, I’m going now to load the page on the live server. I’ll send you the login credentials, full admin access.

    Thread Starter vipteam

    (@vipteam)

    Hi @lyrathemes,

    Email with login info sent 2 days ago. I have no feedback from you. Have you detected a problem? Did you find out the cause of the problem?

    Thanks in advance. Regards,

    Thread Starter vipteam

    (@vipteam)

    UPDATE: My problem is Child Theme related. Vega WP Theme works without problems. But when I make Child Theme, then it is broken. I have tried without success the following plugins:

    Child Theme Wizard — (My Favorite)
    https://www.ads-software.com/plugins/child-theme-wizard/

    WP Child Theme Generator
    https://www.ads-software.com/plugins/wp-child-theme-generator/

    Child Theme Configurator
    https://www.ads-software.com/plugins/child-theme-configurator/

    None of this does not work. How to make Vega Child Theme to work?

    Vega Child Theme for download?

    • This reply was modified 8 years, 3 months ago by vipteam. Reason: typo
    Thread Starter vipteam

    (@vipteam)

    Done! Problem solved!

    I have made Child Theme with Child Theme Wizard plugin. Then I changed functions.php file like this:

    <?php /*
    
      This file is part of a child theme called vega child.
      Functions in this file will be loaded before the parent theme's functions.
      For more information, please read https://codex.www.ads-software.com/Child_Themes.
    
    */
    
    // this code loads the parent's stylesheet (leave it in place unless you know what you're doing)
    
    add_action( 'wp_enqueue_scripts', 'vega_child_enqueue_styles' );
    function vega_child_enqueue_styles() {
        
        $parent_style = 'vega-wp-style';
        $deps = array('bootstrap', 'font-awesome', 'bootstrap-social');
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' , $deps);
        
        $vega_wp_color_stylesheet = vega_wp_get_option('vega_wp_color_stylesheet');
        wp_enqueue_style('vega-wp-color', get_template_directory_uri() . '/color-schemes/' . strtolower($vega_wp_color_stylesheet) . '.css', array() );
        
        wp_enqueue_style( 'vega-wp-style-child',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style, 'vega-wp-color' ),
            wp_get_theme()->get('Version')
        );
    }
    
    function vega_wp_get_option($key){
        global $vega_wp_defaults;
        
        $parent_theme = get_template_directory();
        $parent_theme_slug = basename($parent_theme);
        $parent_theme_mods = get_option( "theme_mods_{$parent_theme_slug}");
        
        if (!empty($parent_theme_mods) && isset($parent_theme_mods[$key])) {
            $value = $parent_theme_mods[$key];
        } else if (array_key_exists($key, $vega_wp_defaults)) 
            $value = get_theme_mod($key, $vega_wp_defaults[$key]); 
        else
            $value = get_theme_mod($key);
        
        return $value;
    }
    
    /*  Add your own functions below this line. */ 
    
    

    I now feel like Christopher Columbus when he discovered America. I’m angry, too. Vega is a wonderful WP Theme. But documentation is zero.

    Theme Author lyrathemes

    (@lyrathemes)

    Our team was not working over the last 4 days so I am sorry for the delayed response.

    I am sorry you had so much trouble figuring this out. The documentation for the theme is more geared towards the usage and setup of the theme. It does not tell you or teach you how to create a child theme.

    A child theme does not load the parent theme options by default. We suggest using this functions.php file for your Vega Child Theme in order to retain any parent theme options you may have set up:

    https://gist.github.com/lyrathemes/c83a7b7a3a1f0563e095b456c00045a0

    Apparently this is exactly what you’re using in your functions.php file – I may have shared this link somewhere here on the forums.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @lyrathemes I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials on these forums.

    https://codex.www.ads-software.com/Forum_Welcome#The_Bad_Stuff

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.

    Please be aware that repeatedly asking for credentials will result in us asking you to repeatedly stop before escalating up to the theme review team.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Top Left and Top Right Menu destroy Banner section’ is closed to new replies.