Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter pamperurselfgreen

    (@pamperurselfgreen)

    Kathryn, thank you for taking the time to explain it to me! It makes sense now ??

    Hi, I’m not sure if I can still ask question on this thread any more but can you help me with the two side bar showing up on my site Thanks! https://www.pamperurselfgreen.com

    here’s what I put in functions.php

    <?php
    function weaver_xtreme_child_enqueue_child() {
    wp_register_style( ‘weaver-xtreme’, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘weaver-xtreme-child’, get_stylesheet_uri(), array( ‘weaver-xtreme’ ) );
    }
    add_action( ‘wp_enqueue_scripts’, ‘weaver_xtreme_child_enqueue_child’,11 );}

    ?>

    and in the style.css

    /*
    Theme Name: weaver-xtreme-child
    Template: weaver-xtreme
    Theme URI: //weavertheme.com
    Description: Bare minimum Weaver Xtreme Child demo theme
    Author: Bruce Wampler
    Author URI: //weavertheme.com/about
    Version: 1.0
    Tags: light, dark, white, black, gray, one-column, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, photoblogging
    Template: weaver-xtreme

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program. If not, see <https://www.gnu.org/licenses/&gt;.

    About style.css:

    Traditionally, a child theme provides its own style.css to override or extend the
    parent style.css. This usually involved adding an “@import” to the child’s style.css.

    Weaver Xtreme handles the main style sheet differently. It is called “assets/css/style.weaverx.css”,
    and is loaded before the theme “style.css” file. Thus, there is no need to “@import” the
    parent stylesheet.

    So you can make overrides and extensions directly in this child style.css.

    */

    /* ——————————————————
    Add specific style overrides here…

    Just for example, this style will change the default BG Color for the site.
    */
    body,
    input,
    textarea {
    background-color: #CCC;
    }

Viewing 2 replies - 1 through 2 (of 2 total)