Specific text font

pending (5 posts) (2 voices)

  1. rcabras
    Member

    Hi,
    maybe this is a quesion not specific for the theme but.. I'd like to insert in a page a text line with a different font , size and color (without change the whole theme settings). Is it possible?
    Can I use a font included in Construct font collection? or other font.....

    What's the right syntax?

    thanks a lot
    Roberto

    Posted 4 years ago #
  2. Elliott
    Support

    Hello rcabras,

    Add this in Dashboard -> your theme -> General Settings -> Custom Javascript,

    Cufon.replace(".custom_font", { fontFamily: "yourfontname" });

    Change "yourfontname" to whatever font you want to use.

    And then add a class of "custom_font" to whatever text you wish to change like so,

    <span class = "custom_font">Text</span>

    Posted 4 years ago #
  3. rcabras
    Member

    Thanks Elliot,
    I'm not sure to have correctly used your advice.
    I've atteched 2 screenshot..that caused anything in the text..

    maybe the name of the font?

    thanks again..
    Roberto

    Attachments

    1. Schermata_2013-07-04_alle_14.16.07.png (39.8 KB, 0 downloads) 4 years old
    2. Schermata_2013-07-04_alle_14.15.38.png (46.9 KB, 0 downloads) 4 years old
    Posted 4 years ago #
  4. Elliott
    Support

    Edit your skin and make sure you have at least one setting set to use the bebas font.

    And send us a link.

    Posted 4 years ago #
  5. rcabras
    Member

    Perfect...thanks

    Posted 4 years ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme