Viewing 1 replies (of 1 total)
  • Hi,

    Thanks for reaching out and for trying out Vega. We appreciate it.

    Please take a look at WordPress article about creating a Child Theme: https://codex.wordpress.org/Child_Themes

    Make sure you have the following code in style.css:

    
    /*
    Theme Name: Vega Child
    Theme URI: https://www.lyrathemes.com/vega/
    Author: Lyra Themes
    Author URI: https://www.lyrathemes.com/
    Description: Vega is a clean, minimal, responsive one page business theme
    Version: 1.0.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Template: vega
    Tags: one-column, two-columns, right-sidebar, grid-layout, flexible-header, custom-header, custom-colors, custom-menu, featured-image-header, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, blog, news, portfolio
    */

    You need also create functions.php file with something like the following:

    <?php
    add_action( 'wp_enqueue_scripts', 'vega_wp_parent_scripts' );
    function vega_wp_parent_scripts() {
    	#bootstrap, fontawesome, bootstrapsocial
    	wp_register_style('bootstrap', get_template_directory_uri() . '/assets/css/bootstrap.min.css' );
    	wp_register_style('font-awesome', get_template_directory_uri().'/assets/css/font-awesome.min.css' );
    	wp_register_style('bootstrap-social', get_template_directory_uri().'/assets/css/bootstrap-social.css' );
    
    	#default stylesheet
    	$vega_wp_theme = wp_get_theme();
    	$deps = array('bootstrap', 'font-awesome', 'bootstrap-social');
    	wp_enqueue_style( 'vega-parent-style', get_template_directory_uri() . '/style.css', $deps, $vega_wp_theme->get( 'Version' ) );
    
    }

    Finaly copy all dependency styles to assets/css directory: bootstrap, font-awesome, bootstrap-social

    I hope it helps.

    Best,
    Jarek
    Vega Team Support

Viewing 1 replies (of 1 total)
  • The topic ‘css and js files are not updating’ is closed to new replies.