• Hello everybody
    I add a css file in additional css of theme and this file import another CSS file by address for that
    Its work correctly but when I change permanlink from simple to %postname% and use RTL URL for post it not work
    My Page URL: ohparquet.com/تست
    My CSS file URL: ohparquet.com/font
    but when the website want to load CSS file go to this address: ohparquet.com/تست/font
    I cant understand why my website want to load this address
    the “تست” in address is extra and incorrect and dont need to be there

    for example this URL have this problem:
    https://ohparquet.com/%D8%AE%DB%8C%D8%A7%D8%A8%D8%A7%D9%86-%D8%B3%D9%BE%D9%86%D8%AF/

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Topher

    (@topher1kenobe)

    Looking in your site code I think you’re talking about this:

        src: url('../fonts/iransansxv.woff') format('woff-variations'),
        /* will be the standard and works in Safari now */
        url('../fonts/iransansxv.woff') format('woff');

    You don’t want the two dots in there, they mean “go up one directory” which won’t work at other levels of your site. Make it like this:

        src: url('/fonts/iransansxv.woff') format('woff-variations'),
        /* will be the standard and works in Safari now */
        url('/fonts/iransansxv.woff') format('woff');
Viewing 1 replies (of 1 total)

The topic ‘Load additional CSS file in rtl URL for post’ is closed to new replies.