EightStore Lite Child theme style.css not accepted

Home Page Support Free Themes EightStore Lite EightStore Lite Child theme style.css not accepted

This topic contains 3 replies, has 3 voices, and was last updated by  8Degree Themes 8 months, 2 weeks ago.

  • Author
    Posts
  • #3622

    miteva_lavoro
    Participant

    I have created a child theme for EightStore Lite as described by WP by creating functions.php and style.css files.

    Because in my style.css I have added some style changes to the theme, in my functions.php I have used the following:

    <?php
    function my_theme_enqueue_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’, ‘my_theme_enqueue_styles’ );
    ?>

    But when I make changes in the child style.css (es.font size and color, padding etc) these changes are not accepted and not shown on the frontend. ‘

    What I am getting wrong???

  • #3625

    8Degree Themes
    Keymaster

    Hi There,

    May be you are not adding proper classes to overrite the css codes.
    If you point us what you are trying to do , we could better help you.

    Thanks!

  • #3650

    shikha.bharadwaj
    Participant

    HI .. thanks for sharing wonderful theme.. i WANT TO SHOW FIRST CREATED PRODUCT ON HOME PAGE SECTION

    AT THE MOMENT ITS PICKING LAST CREATED PRODUCT FOR HOME PAGE

    EXAMPLE IF I SELECT TO DISPLAY 6 PRODUCTS FROM CATEGORY 1, IT SHOWS LAST CREATED PRODUCT UNDER CATEGORY 1, WHEREAS I WANT TO SHOW FIRST CREATED PRODUCT ON HOME PAGE.

    Thanks in advance

    Regards
    Shikha

  • #3654

    8Degree Themes
    Keymaster

    Hi There,

    We have been using widgets to show products and by default woocommerce.
    Try from here:

    View post on imgur.com

    or need to customize from code.

    Thanks!

You must be logged in to reply to this topic.

Please post your questions in the respective forum above.

All questions related to our Pro theme will be answered in less than 24 hours. All questions related to our Free theme will be answered in less than 48 hours.
Our Facebook page is the best place to get updated with themes, documentation, question/answers. Please like us here:

8 Reasons to choose

Instant Updates

Many free themes, only buy themes when you are ready!

Subscribe for newsletter

-