0
Welcome Guest! Login
0 items Join Now

Have one font for headers and a second font for article text

  • Have one font for headers and a second font for article text

    Posted 10 years 3 weeks ago
    • My clinet wants the header text to be a different font
      His request:
      "We would like you to use the following font pairs.

      Gill Sans (titles and headers) and Neuton (body copy)
      or
      Montserrat and Neuton"

      template Spectral responsive
      Joomla 3.3.6

      I know where to go into the tramplate and chang the fornt but it has no affect on th etext in th ebody of tha article

      I usually use the fonts that come with the template.
      How can I make this happen?

      dev site is templeshalom.wholemegillah.us/
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: Have one font for headers and a second font for article text

    Posted 10 years 3 weeks ago
    • Hi there,

      You need to create a custom css file first. Simply create a file called "<TEMPLATENAME>-custom.css" and put this file in the CSS folder of the template (where <TEMPLATENAME> is the name of the template as seen in template manager e.g. rt_fracture). GANTRY4 will automatically load this CSS file. If you wish, you can also have browser specific files by appending, for example, "-ie9" making the filename "<TEMPLATENAME>-custom-ie9.css"

      Now add the following code..

      body {
        font-size: 14px;
        line-height: 24px;
        font-family: Arial, Helvetica, Sans-Serif;
      }

      Substitute the font-family to match your needs.

      Read more about fonts here - www.gantry-framework.org/documentation/j...rials/custom_font.md

      Hope this helps 8)

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information

Time to create page: 0.056 seconds