Child Theme problems
-
I have a child theme activated. I was trying a couple of different things, because it did not seem as though my child theme was working correctly. I have now changed something that has made a few of the styling that I have added, to not work.eg:
My main menu is not centered anymore, this is what I have in my stylesheet:
*Centre main menu
*/
.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
text-align: center;
}My header image and a few of the images in my sidebar has a border again:
/*Remove border around header image
*/
.entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image {
border-radius: none !important;
box-shadow: none !important;
}The padding below the main nav bar has increased again:
/*Remove padding under menu
*/.site-header {
padding-bottom: 0;
}Proudly powered by wordpress is visible again:
/*Hide ‘proudly powered by wordpress
*/
a[title=’Semantic Personal Publishing Platform’] { display: none; }And quite a couple of other things…. I think that I have set my child theme up wrong. Please help! This is how my the code at the top of my child style.css:
/*
Theme Name: twentytwelvechild
Author: the WordPress team
Author URI: https://www.ads-software.com/
Template: twentytwelve
Version: 1.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: twentytwelve
*/
- The topic ‘Child Theme problems’ is closed to new replies.