test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • thanhlp Friend
    #155134

    Hi all,

    Any people could help me on how to change the font size of the headers on frontpage? The font is ugly and size is too big, I would like to change it to one smoother.

    And the background color of menu and the header of modules also, how can I change to another color?

    Thanks.

    Saguaros Moderator
    #358543

    Hello

    Please open the file: /templates/ja_portfolio/css/template.css and find the following code:
    Heading:

    h1.componentheading, .componentheading {
    background: url(../images/noise-bg.png) #313435;
    color: #f0f0f3;
    padding: 10px 20px;
    margin: 0 -20px;
    font-size: 125%;
    text-transform: uppercase;
    font-weight: bold;
    }

    and

    Module:

    div.ja-moduletable h3, div.moduletable h3 {
    font-size: 125%;
    padding: 10px 15px;
    color: #f0f0f3;
    text-transform: uppercase;
    background: url(../images/noise-bg.png) #313435;
    }

    pls adjust value for the font-size attribute of those blocks

    thanhlp Friend
    #358778

    Thanks, can I change h3 to h2 (or h4 if this make the font smaller) instead of change the font size? – sorry for this question but I am very new to CSS!

    Saguaros Moderator
    #358941

    <em>@thanhlp 198250 wrote:</em><blockquote>Thanks, can I change h3 to h2 (or h4 if this make the font smaller) instead of change the font size? – sorry for this question but I am very new to CSS!</blockquote>
    now, to make the font is bigger for the h2, or h3, you do as following:

    1) Define this class into the template.css file

    .myfont{
    font-size:150%!important;
    }
    you can replace 150 by yours number (:))
    and then you use this class for that tag

    <h2 class=”myfont”> MY CONTENT </h2>

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 14 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum