Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27720

    I’ve been having issue today using the styling section in theme options. Whatever I changed it wouldn’t update.

    Permissions were correct

    Changed wp_register_style( 'avia-grid' , $template_url."/css/grid.css", array(), $ver, 'screen' ); from 1 to $ver as suggested in this post https://kriesi.at/support/topic/how-to-remove-the-get-parameters-from-jscss-files-eg-enfoldcssver1

    Still nothing changed then I changed the number in the following code and the next set of changes started to display.

    {
    $avia_upload_dir = wp_upload_dir();

    $avia_dyn_stylesheet_url = $avia_upload_dir['baseurl'] . '/dynamic_avia/'.$safe_name.'.css';
    wp_register_style( 'avia-dynamic', $avia_dyn_stylesheet_url, array(), '1', 'screen' );
    wp_enqueue_style( 'avia-dynamic');
    }

    Not sure whats going on but it took me a age to sort it out so it may help others.

    Cheers

    Greg

    #135124

    Hey,

    Thanks for the tip. Glad it is working now.

    Cheers,

    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘something funky going on with enfold.css’ is closed to new replies.