[Solved] stylesheet for news modules

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
duyquyen1710
Forum Members
Forum Members
Posts: 17
Joined: Sat Aug 17, 2013 4:49 am

[Solved] stylesheet for news modules

Post 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!
Last edited by duyquyen1710 on Tue Aug 20, 2013 1:28 am, 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: stylesheet for news modules

Post 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.
duyquyen1710
Forum Members
Forum Members
Posts: 17
Joined: Sat Aug 17, 2013 4:49 am

Re: stylesheet for news modules

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

Re: stylesheet for news modules

Post 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.
"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!
duyquyen1710
Forum Members
Forum Members
Posts: 17
Joined: Sat Aug 17, 2013 4:49 am

Re: stylesheet for news modules

Post by duyquyen1710 »

To Jo Morg : That's right! Thanks so much!
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1968
Joined: Mon Jan 29, 2007 4:47 pm

Re: stylesheet for news modules

Post by Jo Morg »

No problem. Please add [Solved] to the Subject of your 1st post.
"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!
Post Reply

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