News-module questions

General project discussion. NOT for help questions.
Post Reply
mrbs

News-module questions

Post by mrbs »

I am using the standard news-module comming with cmsms. I know that it is "controlled" by css, and the layout is fitting my design.

But one thing i can't figure out how to solve:
I would like a
or tag between the posts. As it is now, the last part of a post, and the title of the next is in the same line...

What did I forget?

You can see what I am working on here (it's danish)...

http://www.mrbs.dk/cms
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

News-module questions

Post by Ted »

Add

Code: Select all

display: block;
margin-top: 1em;
to your cms-module-news class. Should fix it right up.

Great looking site!
mrbs

News-module questions

Post by mrbs »

Just perfect!

Thank you very much!
TNTH

help me out

Post by TNTH »

wishy wrote:Add

Code: Select all

display: block;
margin-top: 1em;
to your cms-module-news class. Should fix it right up.

Great looking site!
Ok, please help me out, I just can't find the file to put that in :cry:
TNTH

overwrote it

Post by TNTH »

Guess I overwrote that css. Could someone please post it here?
TNTH

Thanks

Post by TNTH »

Merci :)

Got that part working now almost like I want it. Just got one more question:

How do I change the looks of the titel/date/category. Now it is the same as the newsarticle, but I'd like it to be fat and to have another color.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

News-module questions

Post by Greg »

Here is the CSS I use:

Code: Select all

.cms-module-news {
display: block; 
margin-bottom: 10px;
padding: 10px;	
border: 1px solid #777;
}
.cms-news-date {
color: #DD0000;
font-weight: bold;
}
.cms-news-title {
color: #006400;
font-weight: bold;
}
.cms-news-content {
color: #000;
font-size: 1.1em;
display: block; 
margin-top: 6px;
}
Greg
TNTH

News-module questions

Post by TNTH »

Nice :)

Thanks for posting.
blind

News-module questions

Post by blind »

sorry to ask but which file exactly do i put this code in? Thanks.
blind

News-module questions

Post by blind »

nevermind figured it out. :D
TNTH

Re: News-module questions

Post by TNTH »

Greg wrote: Here is the CSS I use:

Code: Select all

.cms-module-news {
display: block; 
margin-bottom: 10px;
padding: 10px;	
border: 1px solid #777;
}
.cms-news-date {
color: #DD0000;
font-weight: bold;
}
.cms-news-title {
color: #006400;
font-weight: bold;
}
.cms-news-content {
color: #000;
font-size: 1.1em;
display: block; 
margin-top: 6px;
}
It seems this css-code doesn't work anymore with cmsversion 0.10 and newsversion 2.0.
What's the correct way of changing the look of the news right now?
Post Reply

Return to “General Discussion”