WordPress.org

Forums

Decode
[resolved] Changing Page Title Font (7 posts)

  1. Fortheages
    Member
    Posted 1 year ago #

    Hi,
    I’m pretty much a beginner in WordPress and I’ve just started a Web site. How would I go about changing the font size of a page title in the theme? The following URL will take you to the site and “About Us” under the header is what I’m referring to: http://www.dunamismedical.com/about-us/. I have installed the plug-in My Custom CSS in case that can simplify a solution.
    Thanks and regards,
    Lee

  2. dazunj
    Member
    Posted 1 year ago #

    Paste this code in your css file

    h1.entry-title{

    font-size : (add required sise)px
    }

    all this things may be in your css files, try to inspect using firebug or google chrom inspectror and try to search what are the styles. then search those classes in style search and change accordingly. don't forget to backup all the things before you start the changes

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    Do not edit the theme itself. First create a child theme for your changes. Or install a custom CSS plugin.

  4. Edit: Beaten to it again. It took me 4 minutes to draft that reply.

    Paste this code in your css file

    Almost correct! Well the CSS may be completely correct but don't modify that theme's style.css file. Instead make that CSS modification using a custom CSS plugin or create and activate a child theme.

  5. Scott Smith
    Member
    Theme Author

    Posted 1 year ago #

    Decode also has a Custom CSS feature in the Customizer which is perfect for changes like this. Also, don't use pixels for fonts size, use ems like this:
    font-size: (add required size)em;

  6. Fortheages
    Member
    Posted 1 year ago #

    First, thanks very much to everyone for the responses, this forum is great and I wish I had more to offer than dumb questions. Second, my question is to Scott: I don’t understand how to use the Customizer you referred to in your post. I’ve looked (I think) thoroughly in the Dashboard and can’t find anything like this. Also, thanks very much for the great theme and all the assistance you provide.
    Lee

  7. Fortheages
    Member
    Posted 1 year ago #

    Never mind that last question Scott; I was able to change the Page Title font size. After further review of all the responses to this post and a little research, I installed the plugin 'PC Custom CSS Settings - version 1.3'.
    Using the plugin I entered the following code:
    h1.entry-title{
    font-size : 1.2em;
    }.
    If you think I missed anything else please let me know. Otherwise thanks very much for your response and time. Thanks again to everyone else who responded to this post.
    Lee

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.