Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #81743
    Alvin
    Participant

    Am trying to change the font color for my page titles and have tried various codes off the forum board but none seems to work. This code for instance change the font size but not the color! #main #content .page h1,
    #main #content .page h2.entry-title {
    font-size: 24px; color:#777;
    }
    Can you give me the custom code to chage page titles font color?

    #81755
    Mahesh
    Participant

    Hi @Alvin,

    Please replace your CSS with following:

    #main #content .page h1.entry-title > a {
        font-size: 24px;
        color:#777;
    }

    Let me know if this helps.

    Regards,
    Mahesh

    #81775
    Alvin
    Participant

    Hi Mahesh, Thank you for your quick response the code you gave worked fine. Is there a code to change the sidebar widget titles font color as well? Thanks.

    #81808
    Mahesh
    Participant

    Hi Alvin,

    For changing sidebar widget titles font color, add the following CSS:

    #secondary .widget-title{
         color: green;
    }

    Let me know if any problem arises and please post your site url.

    Regards,
    Mahesh

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Page title font color’ is closed to new replies.