[solved] Menu Help, linking CSS to Template

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
ozthor
New Member
New Member
Posts: 4
Joined: Fri Nov 01, 2013 8:17 pm

[solved] Menu Help, linking CSS to Template

Post 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
Last edited by ozthor on Sun Nov 03, 2013 8:46 pm, edited 1 time in total.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Menu Help, linking CSS to Template

Post 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.
ozthor
New Member
New Member
Posts: 4
Joined: Fri Nov 01, 2013 8:17 pm

Re: Menu Help, linking CSS to Template

Post 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
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1968
Joined: Mon Jan 29, 2007 4:47 pm

Re: Menu Help, linking CSS to Template

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
ozthor
New Member
New Member
Posts: 4
Joined: Fri Nov 01, 2013 8:17 pm

Re: Menu Help, linking CSS to Template

Post 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
Post Reply

Return to “Layout and Design (CSS & HTML)”