• Resolved serenikitty

    (@serenikitty)


    Using an argent child theme. I am looking to change the Page Title fonts to the same font that is used on the front of the Portfolio project pages and other areas throughout the theme. What are the names of these 2 fonts? Am I able to simply sub-in one font name for the other in my child theme coding since the font is already used in the theme/ how would I go about doing that? Thanks so much

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    I am looking to change the Page Title fonts to the same font that is used on the front of the Portfolio project pages

    Argent uses the Cabin font for the portfolio project titles:

    font-family: "Cabin", Helvetica, sans-serif;

    It uses the Alegreya font for body text:

    font-family: "Alegreya", Georgia, serif;

    Here’s the original code Argent uses for post/page titles:

    .single .entry-title,
    .page-title,
    .page-title {
    	font-family: "Alegreya", Georgia, serif;
    	font-size: 40px;
    	font-size: 4rem;
    	font-style: italic;
    	line-height: 1.6em;
    	text-align: center;
    }

    So to use Cabin for your post/page title fonts, you could replace the font-family there with Cabin. You might also want to remove the italics, but that’s up to you. Here’s something I tried with adjustments that I thought looked good, but adjust to your preference:

    .single .entry-title,
    .page-title,
    .page-title {
    	font-family: "Cabin", Helvetica, sans-serif;
    	font-size: 40px;
    	font-size: 4rem;
    	font-style: inherit;
    	line-height: 1.6em;
    	text-align: center;
    }

    Just add the code to your child theme’s CSS.

    Thread Starter serenikitty

    (@serenikitty)

    Thank you so much, David!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What fonts are used for Argent? How to edit them’ is closed to new replies.