Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Web Project 27 posts 197 karma points
    Sep 16, 2022 @ 09:01
    Web Project
    0

    Problems with css styles in multilanguage

    Hello, when I change the language, it doesn't find the styles. Where do I go wrong?

    Italian: https://www.progettoracine.it French: https://www.progettoracine.it/fr

    Thanks

  • Roy Berris 89 posts 578 karma points c-trib
    Sep 16, 2022 @ 09:50
    Roy Berris
    0

    It is probably trying a relative path instead of the absolute path for your CSS file. Instead of /style.css it will now try /fr/style.css. (Don't know where you style file is. Try to prefix the style with ~ in your razor to make an absolute path: ~/pathtostyle/style.css

  • Web Project 27 posts 197 karma points
    Sep 16, 2022 @ 10:20
    Web Project
    100

    I solved it! It was not published "Settings" in the French language. Thanks

    enter image description here

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies