Change the size of fonts in titles of posts/articles

  • Unknown's avatar

    I recently changed the theme of my blog to the Independent Publisher theme. I am now working through some issues.

    One of theme is the size of the titles. I mean the titles of my posts. When I look at my blog, these titles look huge. I tried going through the Fonts customization, but nothing there.

    Can someone help me with a CSS code for this? I want to be able to make it smaller or bigger.

    The same issues for the size of the blog title.

    One other issue that I have is the different categories that I use. In order to post certain posts in different articles and to make them visible, I added to my primary menu different categories. When accessing these categories, I get a title on that page with “Category:Blog” (an example). I would like to make these disappear, if possible.

    Thank you :).

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

  • Unknown's avatar

    Hi there, the following CSS will allow you to adjust the title font size for pages and posts. 2.5em is the existing size.

    .entry-title {
        font-size: 2.5em;
    }

    For the site title, add the following and adjust as desired.

    #hero-header .site-title {
        font-size: 3.625rem;
    }

    To remove the titles on the category/tag/date archive pages, add the following.

    .archive .page-header {
        display: none;
    }

    Go to Appearance > Customize > CSS, delete all the informational text in that window, and paste in the above custom CSS snippets.

  • Unknown's avatar
  • Unknown's avatar
  • The topic ‘Change the size of fonts in titles of posts/articles’ is closed to new replies.