Keyword

Using sh404SEF breaks CSS formatting

  • ericmiller74
  • ericmiller74's Avatar Topic Author
  • Offline
  • New Member
More
15 years 7 months ago #17535 by ericmiller74
Using sh404SEF breaks CSS formatting was created by ericmiller74
Hello, I am happy with the functionality of SRSSR but cannot get my CSS formatting back after applying SEF friendly URLs. I have even reinstalled the module after the SEFs were in place.

Why would the CSS have been unlinked?

What can I do about it?

Thanks

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #17536 by ktjonsson
Replied by ktjonsson on topic Re: Using sh404SEF breaks CSS formatting
Hello,
I've got the same problem, with both sh404SEF and core SEF.
Found any solution yet? Grateful for any ideas. Thanks.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #17537 by ktjonsson
Replied by ktjonsson on topic Re: Using sh404SEF breaks CSS formatting
I changed the relative paths in the CSS file to abolsute paths and now it works fine.

This is the path that needs to be changed if you're using SEF:

modules/mod_jw_srfr/mod_jw_srfr/mod_jw_srfr.css

Please Log in or Create an account to join the conversation.

More
15 years 3 weeks ago #17538 by error4o4
Replied by error4o4 on topic Re: Using sh404SEF breaks CSS formatting
I have sh404SEF too, and the link to the css file was broken on all URLs that belong in subdirectories, like www.mysite.com/something/

I fixed it by changing line 144 of mod_jw_srfr.php from :
        @import "modules/mod_jw_srfr/mod_jw_srfr/mod_jw_srfr.css";
to :
        @import "'.$mosConfig_live_site.'/modules/mod_jw_srfr/mod_jw_srfr/mod_jw_srfr.css";

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #17539 by ruigato
Replied by ruigato on topic Re: Using sh404SEF breaks CSS formatting

I have sh404SEF too, and the link to the css file was broken on all URLs that belong in subdirectories, like www.mysite.com/something/

I fixed it by changing line 144 of mod_jw_srfr.php from :
        @import "modules/mod_jw_srfr/mod_jw_srfr/mod_jw_srfr.css";
to :
        @import "'.$mosConfig_live_site.'/modules/mod_jw_srfr/mod_jw_srfr/mod_jw_srfr.css";


this fix worked great, tks

just one question:

isnt mosConfig_live_site a legacy variable?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum