style news detail page

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
tgifred
New Member
New Member
Posts: 2
Joined: Thu Mar 12, 2015 2:30 pm

style news detail page

Post by tgifred »

Hi,

Maybe I'm missing out on something very simple, I also couldn't find it in previous topics.
I can't seem to figure out how to style the news detail page. As it's doesn't have a template as such I cannot attach a stylesheet and the stylesheets I wrote already don't affect it.
Thanks for help.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: style news detail page

Post by velden »

News is displayed on a page, a page is connected to a page template and a page template has zero or more stylesheets attached. On of these stylesheets could contain the news styling.
tgifred
New Member
New Member
Posts: 2
Joined: Thu Mar 12, 2015 2:30 pm

Re: style news detail page

Post by tgifred »

A news entry is not handled as a page in the backend but as an entry within "News" where I also write the News Summary. Therefore I don't know how to apply neither template nor stylesheet to a news-entry.

I have also created a page with the same name, tried to set it as the "Detail Page" (content > News > News entry > Preview) but that doesn't seem to work either as I can only assign stylesheets to templates, not to pages.

The "Detail Template", selectable within that same path doesn't let me choose from the normal templates but only from the News > Detail Templates which I can't assign a stylesheet to.

Hope at least the problem is understandable.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: style news detail page

Post by velden »

Please read my previous post again.
News is displayed on a page, a page is connected to a page template and a page template has zero or more stylesheets attached
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: style news detail page

Post by Dr.CSS »

A default install contains pages with the News showing with links to the detail, look at the template for one of those and you will see the default News style sheet attached to each template, use that as a starting point.
Post Reply

Return to “Modules/Add-Ons”