Calling a Child Style Sheet Located in a Folder (4 posts)

  1. amsgator
    Posted 2 years ago #

    I created a child theme for the inFocus theme named infocus_child. Inside the infocus_child folder I have the child style.css file (see below).

    I am trying to call the child's style sheet located at /wp-content/themes/infocus_child/styles/blue.css instead of the original style sheet at /wp-content/themes/infocus/styles/blue.css. I cannot get the child style sheet to be called.

    Here is the style.css for the child theme. I may not be doing something right to import the blue.css style sheet I want.

    Theme Name: inFocus Child
    Description: inFocus Child Theme
    Template: infocus
    Version: 3.2

    @import url('styles/blue.css');
    @import url('../infocus/style.css');

  2. Jose Castaneda
    Posted 2 years ago #

    Where did you get the theme from?

  3. amsgator
    Posted 2 years ago #

    I got it from Themeforest. It's made by MySiteMyWay.

    I went to their support forums but the only thing they are telling me to do is change the style sheet in the parent theme and then simply export it, update the theme, and then import it back. But the issue is if the theme is changed and updated, I don't want to have to worry about what I changed and then have to manually go through the entire style sheet to pick it out. I'm guessing my method of importing the blue.css sheet is incorrect.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    The wordpress.org support forums are meant for the core application, themes and plugins that are distributed on wordpress.org. We do not support themes downloaded from elsewhere.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.