Results 1 to 2 of 2

Thread: Importing color stylesheet

  1. #1
    Thread Starter
    Expired Customer chebee's Avatar
    Join Date
    Feb 2014
    Location
    Canada
    Posts
    82
    Thanks
    8
    Thanked 6 Times in 6 Posts

    Importing color stylesheet

    Hi Dimitris,

    I just saw this thread and have a follow-up question. Using your code below, how can we also import the color stylesheet @import url("../vantage/styles/blue.css");

    ---
    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
    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')
    );
    }

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: March 14th, 2014, 12:57 PM
  2. home page layout i can t chage directory style to standart style
    By helderventura in forum ClassiPress General Discussion
    Replies: 0
    Last Post: August 22nd, 2013, 02:11 AM
  3. Clipper parent style.css not importing into Child theme style.css
    By dthardy in forum Clipper General Discussion
    Replies: 2
    Last Post: April 7th, 2013, 10:40 PM
  4. Replies: 1
    Last Post: September 15th, 2010, 03:31 AM