Changing font size for date stamp in Chateau theme

  • Hello! I’m trying to change the font sizes in the date stamp. Working in Chateau theme. I am trying to modify in the CSS, but when I hit preview, no changes are happening! I have also just customized the fonts – could this have something to do with it? Would be very grateful if anyone can help!

    The blog I need help with is: (visible only to logged in users)

  • Yes, customized fonts result in very specific rules in CSS and so you need to add an “!important” declaration to override them again. Here is an example showing how to change the font size for the date stamp in the Chateau theme if you have customized fonts on the Appearance → Custom Design → Fonts page:

    .post-date strong {
    	font-size: 4em !important;
    }
    .post-date em {
    	font-size: 1.5em !important;
    	line-height: 2em;
    }
    .post-date span {
    	font-size: 1em !important;
    	line-height: 1.2em;
    }

    Adjust the values to your liking.

  • Ah, thank you! I had the feeling it was an issue with the customized fonts. Will try this out!

  • The topic ‘Changing font size for date stamp in Chateau theme’ is closed to new replies.