WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] change title attributes in Mathew01 theme (3 posts)

  1. kotche
    Member
    Posted 6 years ago #

    hey all.

    i'm very much a newbie to WP ... still finding my feet.

    i'm trying to alter the attributes for my blog title (ie. size, colour and alignment) in the theme Mathew01, but everything i do seems to impact both the blog title and single post titles.

    anyone have any suggestions?

    thanks in advance.

  2. Len
    Member
    Posted 6 years ago #

    The answers which you seek grasshopper lay in the style sheet. Interestingly, this theme uses h2 post tile tags in index.php and h1 post title tags in single.php. The reason changes to the blog title effect post titles in single.php is because it too uses the h1 tag. Simply separate the h1 tag used in the blog title from the h1 tags used in post titles by declaring it in the css.

    #header h1 {
               font-size:xx;
               text-decoration:xx;
               }

    and so forth.

  3. kotche
    Member
    Posted 6 years ago #

    thanks! in the end, i changed the title in the single.php to be a H2 definition and then altered the H1 attributes in the style sheet so that it only affected the blog title. this gave me the desired effect.

Topic Closed

This topic has been closed to new replies.

About this Topic