- Posts: 1
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- Simple RSS Feed Reader
- Using sh404SEF breaks CSS formatting
Using sh404SEF breaks CSS formatting
- ericmiller74
- Topic Author
- Offline
- New Member
Less
More
16 years 1 month 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
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.
- ktjonsson
- Offline
- New Member
Less
More
- Posts: 3
15 years 11 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.
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.
- ktjonsson
- Offline
- New Member
Less
More
- Posts: 3
15 years 11 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
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.
- error4o4
- Offline
- New Member
Less
More
- Posts: 3
15 years 7 months 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";
I fixed it by changing line 144 of mod_jw_srfr.php from :
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.
- ruigato
- Offline
- New Member
Less
More
- Posts: 18
15 years 4 months ago #17539
by ruigato
this fix worked great, tks
just one question:
isnt mosConfig_live_site a legacy variable?
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.
- Forum
- Free Joomla Extensions & Templates
- Simple RSS Feed Reader
- Using sh404SEF breaks CSS formatting