bigfoot-islander

Participant

Forum Replies Created

  • In reply to: Child theme still invisible

    #48387

    I’m glad to say that the problem is finally solved.
    Well, I decided to try a plugin to generate the child theme: Child Theme Generator. Within less than 2 minutes I got the solution. This is illustrated on my web site with a new head image.

    functions.php
    <?php
    /*This file is part of graphene-child, graphene child theme.

    All functions of this file will be loaded before of parent theme functions.
    Learn more at https://codex.wordpress.org/Child_Themes.

    Note: this function loads the parent stylesheet before, then child theme stylesheet
    (leave it in place unless you know what you are doing.)
    */

    function graphene_child_enqueue_child_styles() {
    $parent_style = ‘parent-style’;
    wp_enqueue_style($parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style(
    ‘child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array( $parent_style ),
    wp_get_theme()->get(‘Version’) );
    }
    add_action( ‘wp_enqueue_scripts’, ‘graphene_child_enqueue_child_styles’ );

    /*Write here your own functions */

    style.css

    /*
    Theme Name: graphene child theme
    Description: Write here a brief description about your child-theme
    Author: Bakri
    Author URL: https://bakriassoumani.com
    Template: graphene
    Version: 2.0.4
    Text Domain: graphene-child
    */

    /* Write here your own personal stylesheet */
    .header_title, .header_desc {
    text-align: left;
    padding-left: 15px;
    }

    In reply to: Child theme still invisible

    #48381

    Hello,
    Thank you Mabul. I tried your proposal and Syahir one.
    Unfortunately the mystery remains!

    In reply to: text in the header

    #48216

    Hello,
    This is just to say that I’ve got the same issue.
    Thanks for your help.
    Regards

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