WordPress.org

Support

Support » Themes and Templates » Child theme css

Child theme css

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

    @esmi

    Forum Moderator

    Not all of the CSS from the parent theme, no. The only CSS you want in the child’s stylesheet is the custom changes that you want on your site.

    i mean the stuff from under appearance>editor it looks like its in the editor but not the stylesheet

    esmi

    @esmi

    Forum Moderator

    So what file are you referring to?

    /*
    Theme Name: Chronicle-Child
    Theme URI: http://blueprints.akworkshop.com
    Description: An amazing blog/magazine template for all the WordPress aficionados of the world.
    Author: Michael Burke
    Author URI: http://mikeyb2001.com
    Version: 1.0
    Template:chronicle
    Tags:
    */
    @import url(“../chronicle/style.css”);

    /* =Theme customization starts here
    ————————————————————– */

    esmi

    @esmi

    Forum Moderator

    So you are adding new, custom, CSS to your child theme’s stylesheet? Sorry but I’m getting a little confused here…

    .wp-biographia-container-around {
    	background: #f2f7fc;
    	border: 1px solid #000;
    	clear: both;
    	margin: 20px 0;
    	overflow: scroll;
    	padding: 20px;
    	width: 586px;
    }
    
    div#footer-bg {
    	background: #000 url(http://mikeyb2001.com/wp-content/uploads/2014/04/footer-bg.png) repeat;
    	text-align: center;
    }
    
    div#footer {
    	width: 960px;
    	margin: 30px auto 0;
    	color: #858585;
    	font-size: 12px;
    	padding: 40px 0;
    	overflow: auto;
    	text-align: center;
    }
    
    div#followers {
    	background: transparent url(http://mikeyb2001.com/wp-content/uploads/2014/04/followers-bg.png) repeat;
    	padding: 20px;
    	color: #fff;
    	margin-top: 35px;
    	border: 1px solid #3c3c3c;
    	float: right;
    	-moz-border-radius: 5px;
    	-khtml-border-radius: 5px;
    	-webkit-border-radius: 5px;
    	border-radius: 5px;
    }
    
    .followers-col, .followers-subcol {
    	float: left;
    }
    
    div.followers-subcol {
    	width: 45px !important;
    	margin-right: 0 !important;
    }
    
    div#rss.followers-col {
    	width: 90px;
    	height: 37px;
    	margin-right: 15px;
    	float: right;
    }
    
    .followers-num {
    	font-family: Arial;
    	font-weight: 700;
    	font-size: 21px;
    	text-decoration: none;
    	color: #fff;
    	display: block;
    }
    
    .followers-desc {
    	font-size: 12px;
    	font-style: italic;
    	color: #cfcfcf;
    	text-decoration: none;
    	display: block;
    }
    
    #rss {
    	margin-right: 15px;
    }
    
    img.followers-icon {
    	float: left;
    	padding-right: 10px;
    	display: block;
    }
    
    div#sidecontent {
    	width: 245px;
    	float: right;
    	font-family: Arial;
    	font-size: 12px;
    	color: #5b5b5b;
    	line-height: 22px;
    }
    
    .search {
    	padding: 8px;
    	border: 1px solid #fff;
    }

    heres the css that shows up on my editor but not in the code for some reason but the site still seems to render as the code instructs mikeyb2001.com

    if you go to my site and view the source code ll you see is what i posted the first time but all that css i can stillsee in the back end editor

    esmi

    @esmi

    Forum Moderator

    The only stylesheet you should be editing is the one belonging to your child theme.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Child theme css’ is closed to new replies.