Support » Fixing WordPress » remove @import from shopisle theme

  • Resolved Tanzi001

    (@tanzi001)


    I am using the wordpress shopisle theme and it has @import at the top of it’s main css file @import url(“slider.css”);
    slide.css is in a folder called assets slider.css
    I’ve read up and know I have to remove it and add something to my child functions.php, I’ve tried
    // extra RTL stylesheet

    if ( is_rtl() )
    {
    wp_enqueue_style(
    ‘theme-name-slider’,
    get_template_directory_uri() . ‘/css/slider.css’,
    array ( ‘theme-name-default’ )
    );
    }
    }

    if ( is_rtl() ) {
    <link rel=”stylesheet” type=”text/css” href=”<? bloginfo(‘template_directory’);?>/style_slider.css” />
    } else {
    <link rel=”stylesheet” type=”text/css” media=”screen” href=”<?php bloginfo( ‘stylesheet_url’ ); ?>” />
    }
    //

    and my website didn’t like it.
    I have contacted the theme authors and as it a free theme they suggested I contact a developer or wait until they have time to have a meeting.
    I’m sure it is not too involved so I wondered if anyone on here knew.
    I am not a coder but I have access to my server files.
    Can anyone help?

    https://funkyweddingfavours.com.au

    Thanks
    Tanzi

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove @import from shopisle theme’ is closed to new replies.