Page 1 of 1

[Solved] stylesheet for news modules

Posted: Sat Aug 17, 2013 6:27 am
by duyquyen1710
Sorry if i post to wrong place!
I'm a new to cmsms. I have a problem with modules News. When i edit the Sample templates of Detail Templates (Content -> News -> Detail Templates -> Sample), i see some id as NewsPostDetailContent, NewsPostDetailSummary, ... but i can not find where to edit them. I looked for whole News fields but didn't see them.
Please help me!
Thanks so much!

Re: stylesheet for news modules

Posted: Sat Aug 17, 2013 7:53 am
by velden
Stylesheets can be found under Layout menu.

In cmsms: a content page is connected with one page template. A template is connected with zero or more stylesheets.

The news is displayed from within a content page or a page template. So find out which stylesheet(s) is connected and alter them.

Re: stylesheet for news modules

Posted: Sat Aug 17, 2013 8:35 am
by duyquyen1710
in my website i have a Blog template and i set all pages. There are three stylesheets attached to the Blog template. I have searched in all three stylesheets but not found

Re: stylesheet for news modules

Posted: Sat Aug 17, 2013 10:07 am
by Jo Morg
Being News a core Module, default stylesheets have those classes and ids declared. If you are using a custom template and don't have them in it, then just add a stylesheet from the list: you should have a stylesheet named Module: News if your installation was made with sample content. Make a copy from this one and add the copy to the list of stylesheets used by the template. It will give you starting point and keep the original as reference. HTH.

Re: stylesheet for news modules

Posted: Mon Aug 19, 2013 2:52 am
by duyquyen1710
To Jo Morg : That's right! Thanks so much!

Re: stylesheet for news modules

Posted: Mon Aug 19, 2013 4:16 pm
by Jo Morg
No problem. Please add [Solved] to the Subject of your 1st post.