Okay
  Public Ticket #1666811
CSS Codes
Closed

Comments

  • omer started the conversation

    When I change Css codes, the changes do not appear on the site. I also cleaned the browser and WordPress cache.

  •  600
    Support Agent 1 replied

    Hi Omer,

    If you are using child theme, in order to have the CSS from the child theme apply to the site, please try adding the following code to your child theme's functions.php file.

    <?php
    function my_theme_enqueue_styles() {    $parent_style = 'bt_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' );
    ?>

    Let us know if this helped.


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  • omer replied

    I do not use a childtheme.

  •  600
    Support Agent 1 replied

    Hi Omer,

    Could you please tell us if you are making css code customizations to the files directly?

    Please note that we don't suggest editing the files. 

    In order to add css codes please navigate to Custom css field in Appearance> Customize> General settings, or should you want yo can try using the child theme.

    Let us know if you need additional assistance.


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!