Child Themes vs. Skins

resolved (15 posts) (4 voices)

  1. Iguazu67
    Member

    I tried using an @import command so that I could create a lightweight child theme of the legacy_blue, inFocus theme. Then I tried to select my new child theme as the "skin" while referencing the legacy_blue.css file. It didn't work.

    Is this possible to do, or does the skin logic of the theme somehow override the @import command?

    Is there a Child Theme development tutorial somewhere that I've missed?

    Posted 6 years ago #
  2. Elliott
    Support

    Hello Iguazu67,

    What you'll want to do is import the main stylesheet of the theme. In this case it's the "style.css" file.

    After that just activate the child theme and select the legacy_blue skin.

    Posted 6 years ago #
  3. Iguazu67
    Member

    Thanks!

    I'll give this a try, and I just saw the Child Theme tutorial over in the Documentation.

    Posted 6 years ago #
  4. Iguazu67
    Member

    Not sure why it is doing this, but when I follow the tutorial instructions, my new child theme does not appear in the Theme Admin Panel.

    Only if I mislabel the "Template" in the CSS file (say with inFocus as opposed to infocus) can I get something to show up, in which case, I get the following, which isn't what I want.

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name Description
    inFocus-child The parent theme is missing. Please install the "inFocus" parent theme.

    Could the skin somehow be messing with WP's ability to recognize the presence of the new child theme?

    Posted 6 years ago #
  5. Iguazu67
    Member

    I just figured out why it wasn't appearing.

    I have multi-site enabled, and I had to activate it in my Network Admin panel fist.

    You can ignore the questions. So sorry.

    Posted 6 years ago #
  6. How do I get a child theme skin to show up in the skins selector of Awake?

    PS: "Managed" to load the skin via the child theme's style.css using an @import. Is that the way to go?

    Helmar

    Posted 5 years ago #
  7. Elliott
    Support

    Hello helmar,

    If your wanting to upload a skin see here, http://mysitemyway.com/docs/index.php?title=Uploading_and_Downloading_Skins#Uploading_your_new_skin.

    If your wanting to create a child theme see here, http://mysitemyway.com/docs/index.php/Using_Child_Themes.

    Posted 5 years ago #
  8. Ok, I know this is an old thread but it's appropriate to my question and it's the same situation.

    I'm now using a chld theme and all goes well except there are some things that I need to update that are not in style.css, they are in the pearl.css theme.

    But when I update an element that refers to the pearl.css in my child theme it doesn't work. Like the subfooter background color. I just wanted to change it from black #000. So I copied this from pearl.css to my child theme.

    /*:Sub Footer ~*~*/
    #sub_footer,#sub_footer a{/*:Sub Footer Font */
    color:#ccc;font-size:11px;font-weight:normal;font-style:normal;font-family:inherit;}
    #sub_footer{/*:Sub Footer Background */
    background-image:none;background-color:#40332b;background-repeat:repeat;background-attachment:scroll;background-position:center top;}
    /*:Sub Footer End ~*~*/

    It didn't work.

    Then I tried importing the theme pearl.css into my child theme with this new second line:

    @import url("../infocus33/style.css");
    @import url("../infocus33/styles/pearl.css");

    The subfooter background color was still the same, black. So I ended up having to edit the pearl.css skin directly again, which is what I am trying to avoid since this has become a regular nightmare over the years.

    What exactly am I doing wrong or do I just have to have a child theme AND update the skin as well? In which case I just don't see the value in having a child theme at all with Infocus. I just upgraded to 3.3

    Thank you in advance for some understanding here. Every time I update Infocus it's like starting all over again. There's gotta be a better way. Third year of sticking with this theme so clearly I like it.

    Posted 3 years ago #
  9. Elliott
    Support

    Send us a link and take a screenshot and highlight what your trying to do.

    Posted 3 years ago #
  10. Well I got the color updated by editing the pearl.css directly. All I'm asking is why my importing the pearl.css into the child theme isn't working. Isn't that supposed to work? Is the string incorrect?

    @import url("../infocus33/styles/pearl.css");

    I thought the point of a child theme was so that I can just edit from the child theme and not have to update several individual style sheets.

    Posted 3 years ago #
  11. Elliott
    Support

    That is going to stuff all of the pearl.css contents into the child theme (make sure to use absolute path) which you do not want to do. If your just trying to change a color then one or two lines will be enough.

    Posted 3 years ago #
  12. Alright, after updating to Infocus 3.4 I'm back at this again and I need a solid answer - from anybody who cares to explain.

    I know changing a color is just a line or two, but after time making a change here and a change there becomes a project and I'd like to be able to control my theme with just a child theme. So are you telling me, Elliott, that I can't control the color of the footer, body text, etc. directly in a child theme? Am I absolutely obligated to editing every single skin directly? Then what use is a child theme at all with any of these themes?

    Please, I'm trying to understand so that I don't have to keep taking hours to update my site with every theme update.

    Thank you in advance Elliott, or anyone who has had success with using child themes for minor changes such as subfooter text, colors, font sizes, etc. If this is the case I can't see what the purpose of a child theme is with any of these themes.

    And I've already visited and read http://mysitemyway.com/docs/index.php/Using_Child_Themes but am asking for clarification.

    Posted 3 years ago #
  13. Oh and one other question PLEASE - I don't know if the skins themselves are changing with every update of the theme. If not, then I could, indeed, just copy my edited Pearl skin over and be done.

    So are the skins updated every time Infocus moves to a new version?

    Posted 3 years ago #
  14. Elliott
    Support

    No, you can export your skin in Dashboard -> your theme -> Skins and import it again after an update.

    Posted 3 years ago #
  15. Super! Thank you, Elliott!

    Posted 3 years ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme