• I have a premium ecommerce theme. I also have Visual Composer installed and am using it to design the homepage. I am trying to add a font to be used for all text. I was instructed by the theme dev to use this method:
    https://premium.wpmudev.org/blog/custom-fonts-css/
    I think I have done what this says. I have added the following code to style.css in the child theme:

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    @font-face {
    font-family: SourceSansPro;
    src: url(public_html/wp-content/themes/flatsome-child/Source_Sans_Pro/SourceSansPro-Regular.ttf);
    font-weight: normal;
    }
    
    p {
    font-family: SourceSansPro;
    }

    However, I have tried to edit text on my homepage and wrap it in the p tag – <p> text </p> – and I hit save on the visual composer dialog box. Nothing happens. And when I check the text again the <p> tags have disappeared. Something is rejecting my p tags, either VC or WP.
    Please help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you use a commercial theme or plugin and need support, please go to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations.

    Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme or plugin is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.

    I would add your font licence doesn’t allow to distribute it to a large audience.

    What you’re trying to do is raw hijacking of a man’s work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding font to premium theme with Visual Composer addon’ is closed to new replies.