woocommerce offtopic – CSS url rules are not related to css paths in account endpoint fields. meaning. Membership

I am using @font-face in a css file, with urls relative to the font files (relative to the css file). However, the relative nature of URLs breaks down at the endpoints of the account page (created by WooCommerce) and includes the endpoint.

For example:
url('url/something/something/') Will be done url('url/endpoint/something/something/)

I’m assuming this is normal behavior, however I can’t seem to find any references on how to overcome this in the CSS file using absolute paths or generating rules on load.

Leave a Comment