• I’ve set the ‘latest posts’ page to a static page, but the title of that page is being renamed to ‘Blog’. How can I keep the title of the static recent blog posts page?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Cyroq,

    You can try adding the following code to your Admin Panel > Appearance > Customize > Additional CSS field:

    .blog h1.page-title {
      font-size: 0;
    }
    
    .blog h1.page-title:before {
      content: "Custom text...";
      font-size: 22px;
    }

    Thanks!

    Thread Starter Cyroq

    (@cyroq)

    Thanks for your reply. It works almost as expected, except that font-size: 0; overrules the entire content (when using !important, otherwise it doesn’t do anything).

    I still managed to get the desired result by using this code, which removes the <span> which contains the “Blog” text:

    .blog h1 span {
      display: none;
    }
    
    .blog h1.page-title:before {
      content: "Custom text...";
      font-size: 24px;
    }

    Thanks for your help!

    Hi Cyroq,

    You can use !important as far as it helps.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Title of recent posts page’ is closed to new replies.