0
Welcome Guest! Login
0 items Join Now

rt_template-custom.css query

    • Bremner's Avatar
    • Bremner
    • Jr. Rocketeer
    • Posts: 26
    • Thanks: 0

    rt_template-custom.css query

    Posted 9 years 7 months ago
    • OK, so I have searched the forums, followed the instructions but either I'm missing something so obvious that I'm going to kick myself or it just isn't working..

      I'm trying to add a custom font to my site. Here are the steps I've taken.

      Downloaded the fonts in a fontface kit, extracted them and put them in rt_paradigm/fonts.

      In the rt_paradigm/custom folder I have added a rt_paradigm-custom.css file with the following code:
      /* Adding Font aachenboldplain */
          @font-face {
          font-family: 'aachenboldplain';
          src: url('../fonts/aachenboldplain.eot');
          src: url('../fonts/aachenboldplain.eot?#iefix') format('embedded-opentype'),
          url('../fonts/aachenboldplain.woff') format('woff'),
          url('../fonts/aachenboldplain.ttf') format('truetype'),
          url('../fonts/aachenboldplain.svg#aachenboldplain') format('svg');
          }
          .font-family-aachenboldplain {
          font-family: 'aachenboldplain',Helvetica,Arial,sans-serif;
          font-weight: normal;
          font-style: normal;
          }

      In the template options xml I have added:
      		<fields name="font" type="chain" label="FONT_SETTINGS" description="FONT_SETTINGS_DESC">
      			    <field name='family' type='fonts' default='s:helvetica' primary='helvetica' label='FONT_FAMILY' isbodyclass='true' setbyurl='true' setinsession='true' setbysession='true' setincookie='true' setbycookie='true'>
          <option value='geneva'>Geneva</option>
          <option value='georgia'>Georgia</option>
          <option value='helvetica'>Helvetica</option>
          <option value='lucida'>Lucida</option>
          <option value='optima'>Optima</option>
          <option value='palatino'>Palatino</option>
          <option value='trebuchet'>Trebuchet</option>
      	<option value='aachenboldplain'>aachenboldplain</option>

      I can now see the option in the backend but after cache clearing and refreshing, it has no effect anywhere on the site.

      Help appreciated!
    • Then the shadows began to gather; first little furtive ones under the table, and then bolder ones in the dark panelled corners.
    • Bremner's Avatar
    • Bremner
    • Jr. Rocketeer
    • Posts: 26
    • Thanks: 0

    Re: rt_template-custom.css query

    Posted 9 years 7 months ago
    • Server Details (Linux/Windows, Hosting service, etc)Linux, Hostgator
      PHP version5.3
      Platform (name and version)Joomla 2.5
      Template/Extension (name and version)paradigm
    • Then the shadows began to gather; first little furtive ones under the table, and then bolder ones in the dark panelled corners.

Time to create page: 0.045 seconds