Tagged: child
- This topic has 1 reply, 2 voices, and was last updated 10 years, 4 months ago by Sanjip Shah.
-
AuthorPosts
-
January 9, 2014 at 12:39 am #6120jmccalebParticipant
I have created a child theme and made a new style.css for it that only contains the lines changes in my previous iteration. (I’m preparing to upgrade, so need to capture my changes)
I’m running in to 2 issues:
1. The Appearance options in my child theme when doing a Live Preview no longer contains “Header Image”
2. When I activate my child theme, much of the css is malformed. I’m assuming this is probably because I added only the changed lines in my child’s style.css, but I’m not sure how much/little to include. Below is my current chile style.css:
/* Theme Name: Attitude Child Theme Theme URI: https://www.themehorse.com/themes/attitude Template: attitude Author: Theme Horse Author URI: https://www.themehorse.com Attitude WordPress Theme, Copyright 2013 Theme Horse Attitude is distributed under the terms of the GNU GPL */ @import url("../attitude/style.css"); /* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html -------------------------------------------------------------- */ /* Theme Modifications Start Here */ /* No Border/Margin/Padding */ .no-margin-left { margin-left:10px !important; } /* Forms */ input.s { background: url(images/search.png) no-repeat right 5px #fff; padding: 0px 33px 0px 0; } /* =Header ----------------------------------------------- */ #branding { margin-top: 0px; } .hgroup-wrap { padding-top: 10px; padding-bottom: 0px; } site-logo { margin-top: 0px; } .hgroup-right { margin-top: 0px; } /* Social Profiles */ .social-profiles ul li { margin-top: 7px; } /* =Menu -------------------------------------------------------------- */ /* Dropdown */ #access ul li ul { top: 45px; }
Any help would be appreciated. Doing my best to help my friend out, and apparently know just enough to be dangerous. 😉
January 9, 2014 at 8:33 am #6134Sanjip ShahParticipant@jmccaleb The approach that you have followed looks perfectly fine to me. Make sure the style.css that you imported is not altered one.
-
AuthorPosts
- You must be logged in to reply to this topic.