New graphene theme 2.0.1

  • bartoon

    #48167

    Hello
    since the installation of the new theme I have problems with the slider on the main page.
    The black frame is not center, I use a child theme with only 2 files:
    functions.php :

    <?php
    /**
     * Graphene Child Theme Functions
     */
    
    function graphene_child_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    }
    add_action( 'wp_enqueue_scripts', 'graphene_child_enqueue_styles' );
    
    add_theme_support( 'woocommerce' );

    woocommerce.php :

    <?php
    /**
     * The Template for displaying all single pages.
     */
    
    get_header(); ?>
    
    <?php woocommerce_content(); ?>
                
    <?php get_footer(); ?>

    if I put the graphene theme directly without using my child theme the slider is correct but when I go to my woocommerce shop my widget bar is right underneath the objects of the shop instead of staying in its right place.
    I do not use css in addition can you help me please?
    If you want to see for my slider the address is:
    http://www.mediumnitemagnetisme.org
    Thank you

    Admin

    Syahir Hakim

    #48173

    Try changing your child theme’s functions.php code to this:

    <?php
    /**
     * Graphene Child Theme Functions
     */
    
    function graphene_child_enqueue_styles() {
        wp_enqueue_style( 'graphene', get_template_directory_uri() . '/style.css', array( 'bootstrap', 'font-awesome' ) );
        wp_enqueue_style( 'graphene-child', get_stylesheet_uri(), array( 'graphene' ) );
    }
    add_action( 'wp_enqueue_scripts', 'graphene_child_enqueue_styles' );
    
    add_theme_support( 'woocommerce' );
    

    bartoon

    #48183

    It’s ok !!
    Thanks you !!

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

  • The topic ‘New graphene theme 2.0.1’ is closed to new replies.