Options

Changing Font of Title

rbrtrbrt Registered Users Posts: 21 Big grins
edited April 3, 2014 in SmugMug Customization
I finally made the move to the new API. I'm trying to change the Font to Bold of the Title content block. The element looks like:
<h1 class="sm-page-title sm-page-title-left sm-page-widget-pagetitle-s" style="
" id="yui_3_8_0_1_1396353355750_673">Portfolios</h1>

So I added the below to CSS, but has no effect
.sm-page-widget-pagetitle-s
{
font-weight: 900; !important;
}
.sm-page-title
{
font-weight: 900; !important;
}

.sm-page-title-left
{
font-weight: 900; !important;
}

Not sure what else to try. Any help is greatly appreciated

Comments

  • Options
    rbrtrbrt Registered Users Posts: 21 Big grins
    edited April 3, 2014
    Okay, I'm a goofball. Have to remove the semicolon before !important
  • Options
    rbrtrbrt Registered Users Posts: 21 Big grins
    edited April 3, 2014
    rbrt wrote: »
    Okay, I'm a goofball. Have to remove the semicolon before !important

    Looks like all I needed to change weight of Title was this:
    .sm-page-title
    {
    font-weight: 300 !important;
    }

    Oddly it also changed the weight of Text as well, so I had to add:
    .sm-widget-text
    {
    font-weight: 200 !important;
    }
Sign In or Register to comment.