你好,我有一个关于我的风格链接的小问题。css
例如:
@font-face {
src: url(\'wp-content/themes/mytheme/fonts/font.ttf\');
}
以及.div {
background: url(\'wp-content/themes/mytheme/images/img.png\');
}
我的主页工作正常,资源链接正确,但当我转到另一个页面(如“关于”)时,链接会断开,因为它会这样做:www.url.com/about/wp-content/themes/mytheme/images/img.png
谢谢