Styling of news-module

General project discussion. NOT for help questions.
Post Reply
otisjame
New Member
New Member
Posts: 1
Joined: Thu Apr 24, 2025 7:05 am

Styling of news-module

Post by otisjame »

How do i style the the link "more..." in news-module, with css?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1792
Joined: Wed Feb 25, 2009 4:25 am

Re: Styling of news-module

Post by DIGI3 »

You can use css, and/or you can replace it with your own tag, button, or whatever. {$entry->moreurl} generates the url, so you can create the link however you like.
Not getting the answer you need? CMSMS support options
karpel
New Member
New Member
Posts: 2
Joined: Tue Jul 08, 2025 11:53 pm

Re: Styling of news-module

Post by karpel »

“Thanks, DIGI3, that helps! Do you happen to know what CSS class or ID the default ‘more…’ link uses, so I can target it directly without changing the template?”
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1792
Joined: Wed Feb 25, 2009 4:25 am

Re: Styling of news-module

Post by DIGI3 »

If you're using the "News Summary Sample" template, it will be

Code: Select all

.NewsSummaryLink a
If unsure, remember you can use your browser's inspector tool on the frontend to see. Or just open that template and have a look.
Not getting the answer you need? CMSMS support options
Post Reply

Return to “General Discussion”