Changing font on post meta data
-
Hi there,
I’d like to change the font of the meta data on individual posts (specifically the date etc) to Minion Pro to match the header font of my site, but the various codes I’ve found on the forum don’t seem to work. Any ideas?
Thanks,
Abi
The blog I need help with is: (visible only to logged in users)
-
Please try this:
time.entry-date.published { font-family:minion-pro-1, minion-pro-2, Oswald, sans-serif; font-style:normal; text-transform: uppercase; }Get rid of font-style and text-transform attributes if you wish to retain the original italic and lowercase styling of the date.
-
That’s worked – thank you! Is there any way to do the same for the category name at the top of pages like this – https://bristolliving.wordpress.com/wp-admin/customize.php?return=%2Fwp-admin%2F? I have category and tag data set not to display on individual posts but would like to change the font where they do show.
Thanks,Abi
-
Sorry, wrong link in previous message. Should be – http://thesefourwallsblog.com/category/decor/.
-
Modify the CSS rule for date to include the category pages as well, as following:
time.entry-date.published, body.category .page-header .page-title { font-family: minion-pro-1; font-style: italic } -
- The topic ‘Changing font on post meta data’ is closed to new replies.