Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Forums

  • Welcome to Support
  • Guidelines
  • Get involved
  • Log in
  • Welcome to Support
  • Guidelines
  • Get involved
  • Log in
Skip to content

Forums / Plugin: Custom CSS / Relative links

Relative links

  • benpaddlejones

    (@benpaddlejones)


    9 years, 8 months ago

    Hi
    Going insane trying to get relative links work inside the custom CSS editor, my link is:
    http://150.101.201.63/wordpress2/wordpress/wp-content/themes/thinkchangegrow/fonts/montserrat-light_1-webfont.woff2

    The site is http://150.101.201.63/wordpress2/wordpress/

    What would the relative link beinside this CSS:

    @font-face { font-family: ‘montserratlight’; src: url(‘http://150.101.201.63/wordpress2/wordpress/wp-content/themes/thinkchangegrow/fonts/montserrat-light_1-webfont.woff2’) format(‘woff2’), url(‘http://150.101.201.63/wordpress2/wordpress/wp-content/themes/thinkchangegrow/fonts/montserrat-light_1-webfont.woff’) format(‘woff’); font-weight: normal; font-style: normal; }

    Any help appreciated
    Ben

The topic ‘Relative links’ is closed to new replies.

  • Custom CSS
  • Frequently Asked Questions
  • Support Threads
  • Active Topics
  • Unresolved Topics
  • Reviews

Tags

  • css
  • 0 replies
  • 1 participant
  • Last reply from: benpaddlejones
  • Last activity: 9 years, 8 months ago
  • Status: not a support question
  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.