HI: I have a strange problem with the style sheets.
If include the stylesheets directly in the templete, like this, the site works fine.
<link rel="stylesheet" type="text/css" href="{root_url}/js/bootstrap-inc.css" media="all" />
<link rel="stylesheet" type="text/css" href="{root_url}/js/master.css" media="all" />
But if I attach style sheets in the right way (associated with the template) they don't work.
Apparently the problem is the merged CSS file generated.
Any ideas?
[SOLVED] Problem with CSS combination
[SOLVED] Problem with CSS combination
Last edited by mesaredo on Wed Apr 22, 2015 9:49 pm, edited 1 time in total.
Re: Problem with CSS combination
And how do you call the style sheets "the right way"?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
- paulbaker
- Dev Team Member
- Posts: 1465
- Joined: Sat Apr 18, 2009 10:09 pm
- Location: Maidenhead, UK
- Contact:
Re: Problem with CSS combination
I think mesaredo means pasting the CSS in to CMSMS stylesheets and linking them by connecting template to CSS in the admin. However this should work fine, always works for me.
Only issue you might hit is capacity limit for each CSS, 64k from memory. You can get round this by splitting up.
I use bootstrap too. I generally include the basic CSS as a file (as your HTML). And then add my changes in a CMSMS CSS screen, linked after the basic CSS in the template.
Only issue you might hit is capacity limit for each CSS, 64k from memory. You can get round this by splitting up.
I use bootstrap too. I generally include the basic CSS as a file (as your HTML). And then add my changes in a CMSMS CSS screen, linked after the basic CSS in the template.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Re: Problem with CSS combination
Thanks Paul, I'll try with the solution you indicate me and I commented the results.
Thank you!
Thank you!
Re: Problem with CSS combination
Perfect Paul, I splitt the CSS and now all works fine.