Support » Plugin: WP Add Custom CSS » CSS file location

  • Resolved gh0st71

    (@gh0st71)


    Hi,

    I am adding my own custom fonts (@fontface…) to the css plugin. Where is the final CSS file located that this plugin makes? I need to understand where the css file is located relative to the fonts folder so I can reference it properly

    @font-face {
    font-family: ‘National-Regular’;
    src: url(‘location/National-Regular.otf’) format(‘otf’),
    url(‘location/National-Regular.woff’) format(‘woff’),
    url(‘location/National-Regular.ttf’) format(‘truetype’);

Viewing 1 replies (of 1 total)
  • Plugin Author Daniele De Santis

    (@danieledesantis)

    Hi,
    the file is in the WordPress installation root, something like this will work

    url(‘path/to/your/fonts/folder’)
    url(‘/path/to/your/fonts/folder’)

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.