• ClaytonDaniels

    (@claytondaniels)


    I have theme with a directory as follows:

    -/theme
    --/css
    ---responsive.css
    --/images
    -style.css

    I’m using a child theme and want to change the styles of the responsive.css file. My child theme looks like this:

    -/theme-child
    --/css
    ---responsive.css
    --/images
    -style.css

    Inside of me style.css, the import statement @import url("../theme/style.css"); is used to import my style.css into my child theme so I can edit the styles.

    I have the import statement @import url(“../../theme/responsive.css”);` in my responsive.css file (in my child theme).

    The edits I make to my responsive.css in my child theme directory do no overwrite the original responsive.css in the original theme directory.

    Curious as to what I am doing wrong and why I can’t get this to work?

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • esmi

    (@esmi)

    What theme are you using? Where did you download it from?

    Thread Starter ClaytonDaniels

    (@claytondaniels)

    It’s happened on Multiple themes. The flexform theme from swiftideas.net and the Iconic-one theme on www.ads-software.com.

    I know, ask the theme developer. But that has proved to be useless. Let’s just say that the above is MY theme (and yes, I want to make a child theme of my theme)… is using that important statement on the responsive.css file correct?

    It seems so simple to me, new to WP, trying to learn, that simple using the @import statement should work… but it doesn’t ever seem to work if the file I’m trying to overwrite is in a directory other than root.

    esmi

    (@esmi)

    Why is the responsive.css file in a sub-folder of your theme?

    Thread Starter ClaytonDaniels

    (@claytondaniels)

    That’s how it looks when I download the theme files…

    -/theme
    --/css
    ---responsive.css
    --/images
    --/includes
    --/js
    --/language
    --/woocommerce
    -style.css

    bunch of folders, as you can see, responsive files, along with bootstrap and font-awesome files in there as well.

    esmi

    (@esmi)

    So this isn’t your theme? If so, where did you download this theme from?

    Thread Starter ClaytonDaniels

    (@claytondaniels)

    Sorry, thought that was made clear in my second post…

    This particular example occurs in the Flexform theme from swiftideas.net. I have had the exact problem (although different directory structure) occur on the iconic one theme, found on the www.ads-software.com theme repository.

    There are a few other themes that I can’t recall right now, but will research later if you persist with the question about whose theme it is.

    If you don’t mind telling what you are trying to get at, I’d be more than willing to answer. Again, I’m sorry if I don’t have all the terminology down, I’m new to wordpress and I thought this was the place to go for dumb newbie questions. ??

    esmi

    (@esmi)

    I’m sorry but as you appear to be using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not support commercial products here.
    Try https://themeforest.net/user/SwiftIdeas

    Thread Starter ClaytonDaniels

    (@claytondaniels)

    The iconic-one theme is not a commercial theme… it’s found here: https://www.ads-software.com/themes/iconic-one

    Since you can download that theme (I’m using the free version, non-commercial), I’ll try and be more specific.

    On customizing the themonic-customizer.php page in the iconic-one/inc/ folder, I want to change the label for LinkedIn on line 129.

    I’d imagine I would go about that by creating a folder/file INSIDE of my child theme as such:

    iconic-one-child/inc/themonic-customizer.php

    If I make that change on line 129, say change LinkedIn to YouTube, I would expect the Label on the customization page to read… YouTube.

    However, that doesn’t happen.

    So, exact same situation, the only difference being, this is a non-commercial theme… why does making a change on a file within a directory of my child theme NOT overwrite the file as I would expect it to?

    Thanks for you help!

    esmi

    (@esmi)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Child themes and multiple directories’ is closed to new replies.