Page 1 of 1

[solved] Menu Help, linking CSS to Template

Posted: Fri Nov 01, 2013 9:10 pm
by ozthor
Hi People.
I am NEW to the hole CMS thing.
I set up a website with CMS Made Simple for nothing else other then to learn how to use it.......

At this time I am trying to get Menus to work....

I have a basic template with out any format other then a menu...
The menu shows up on the webpage as ta text list...
My problem is with the css file that is ment to format that list into a menu...
I have spent the last week trying to understand and read anything I could find on this...

I can make a new template!!!
I have uploaded new css files with only memu format in it...
I have tryed clicking the add stylesheet icon to add style sheets to templates...
in CMS it shows that it has worked....
but I still get just a text menu.....

Could someone post a very very simple, step but step guide to how to get a new css menu working on a basic template...???
Please show each and every step needed as well as any html code I need to add to the template to tell it there is a css file...

I realy need something a 2 year old could follow ;D

I'm ok with html, so so with css but getting the two to work together in cms, not a clue.....
thanks

Re: Menu Help, linking CSS to Template

Posted: Sat Nov 02, 2013 11:39 am
by velden
Read this: http://docs.cmsmadesimple.org/layout/cr ... n-template

Note that there should normally be no need to UPLOAD css FILES (except for large, framework stylesheets)

Make sure to add {cms_stylesheet} in your page template.
Make sure to connect your cmsms stylesheet to the page template.

This explanation is not for a 2 yrs old as cmsms is not ment for them ;)
However, documentation is there and also the sample template(s) should make it clear.

Don't hesitate to ask for help because once you understand the cmsms basics you will probably love it.
But take time to exactly describe what you've done so far and if possible post link to online version of your site.

Re: Menu Help, linking CSS to Template

Posted: Sat Nov 02, 2013 8:40 pm
by ozthor
Thanks...

You don't upload the css file???

what have I missed?

a stylesheet is a css file that formats the layout of your webpages?
such as where your menu will go and how it looks as well as your text.
and you need to attach the stylesheet to your template?

so if you have made up yout own stylesheet in css, how do you get it onto your website to attach to a template???
that would need to be uploaded??

I have missed something there, and would be the reasion I'm having so much trouble???
thanks

Re: Menu Help, linking CSS to Template

Posted: Sun Nov 03, 2013 2:29 pm
by Jo Morg
ozthor wrote:You don't upload the css file???what have I missed?
By default CSS styles reside in the database in one or several records, and CMSMS takes care of combining them and caching them into a static file, depending on your templates and pages using these. If you have the optional sample contents that ships with CMSMS default installation (and that you may or may not install), you should read it as it has the most basic but quite helpful explanation of how CMSMS works.
As a hint you can create new CSS on layout -> Stylesheets on the backend. Then is just a matter of linking this stylesheet to a template, and linking this template to a page.

Re: Menu Help, linking CSS to Template

Posted: Sun Nov 03, 2013 8:15 pm
by ozthor
Thanks people...

I have worked out the linking/attaching of styleshets to templates...
as for "uploading"
well I give up on that....
but I do add new stylesheets by entering the css code after addinf a newstylesheet and editing it....
where as in the past I did the coding and then tryed to upload the new sheet...

anyway its working......

which brings me to a new problem, but will be a new post....
thank