• Resolved davidthain

    (@davidthain)


    In the main theme style.css file I changed

    this
    .site-header .home-link {
    color: #141412;
    display: block;
    margin: 0 auto;
    max-width: 1080px;
    min-height: 230px;
    padding: 0 20px;
    text-decoration: none;
    width: 100%;
    }

    to this
    .site-header .home-link {
    color: rgb(255,255,255);
    display: block;
    margin: 0 auto;
    max-width: 1080px;
    min-height: 230px;
    padding: 0 20px;
    text-decoration: none;
    width: 100%;
    }

    and it works fine and changes header print to white

    I put the main style.css 2013 theme back to original black – and all was still fine

    However when I made the same change to my 2013 child theme – it didn’t work
    Could someone tell me what else I need to do to my 2013 child theme

    Many thanks

Viewing 15 replies - 1 through 15 (of 26 total)
  • We need to see a live site to help with CSS questions.

    Are you using the twentythirteen theme (the one with the multicolored circles on the header)?

    Thanks

    Thread Starter davidthain

    (@davidthain)

    Yes it is the multicolored circled 2013 and this is the site https://www.writewritingwrotewritten.com

    Are you sure your child theme is working? When I run into things like this, I usually end up finding I had a broken link somewhere. I’m assuming this is not the problem, but just double checking as I did not see a child theme reference, only the twentythirteen style links.

    I found the style you are needing to be changed at style.css 807 so it may be overriding it down your style sheet if the line item you changed is before line 807.

    I hope that helps. Let me know.

    You don’t have a child theme active on your site.

    Thread Starter davidthain

    (@davidthain)

    I’ve just put it back. It’s this:

    /*
    
    Theme Name: Child of Twenty Thirteen
    Description: Child theme based on Twenty Thirteen
    Author: DT
    Version: 1.0.0
    Template: twentythirteen
    
    */
    
    /* Imports all styles from the Twenty Twelve stylesheet */
    @import url('../twentythirteen/style.css');
    
    * 4.1 Site Header
     * ----------------------------------------------------------------------------
     */
    
    .site-header {
    	position: relative;
    }
    
    .site-header .home-link {
    	color: rgb(255,255,255);
    	display: block;
    	margin: 0 auto;
    	max-width: 1080px;
    	min-height: 230px;
    	padding: 0 20px;
    	text-decoration: none;
    	width: 100%;
    }
    
    .site-header .site-title:hover {
    	text-decoration: underline;
    }
    
    .site-title {
    	font-size: 60px;
    	font-weight: bold;
    	line-height: 1;
    	margin: 0;
    	padding: 58px 0 10px;
    }
    
    .site-description {
    	font: 300 italic 24px "Source Sans Pro", Helvetica, sans-serif;
    	margin: 0;
    }

    There is still no child theme active on that site.

    I still don’t see a child theme. Are you sure it’s activated?

    Thread Starter davidthain

    (@davidthain)

    Here comes perhaps the dumbest killer question. I looked at my WP site and it seems I cannot Activate both the twentythirteen theme and the child of twentythirteen theme at the same time. I activate one and the other is de-activated and vice versa. How do I do both at once

    You don’t have both activated – just the child theme needs to be activated.

    the child theme needs to be activated and the “parent theme” in this case twentythirteen deactivated. You must still keep the parent theme there, just not activated. Basically, a child theme defers to it’s parent theme UNLESS you change something, in this case, you are just trying to change the title line, so it will read the css for that particular part of the site from the child theme.

    I hope that makes sense.

    Thread Starter davidthain

    (@davidthain)

    Eureka! Thank you, aptly named WPyogi
    Do I need to put all the twentythirteen theme files into the twentythirteen child theme folder?

    No, Just the things you edit.

    Thread Starter davidthain

    (@davidthain)

    Just to take this question to its logical conclusion. If the twentythirteen theme is upgraded (as it surely will be) what then needs to be done to the twentythirteen child theme?

    Nothing – that’s the beauty (and purpose) of using a child theme – the parent theme is updated – but your changes are not overwritten.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Changing the header print color in theme 2013 to white’ is closed to new replies.