Page 1 of 1

News Module - Problem changing CSS [solved]

Posted: Thu Aug 09, 2007 9:12 am
by timh
Hi,

I am trying to change the presentation of the headlines for items in the news module and have hit the wall of my CMSMS and CSS knowledge (not that achieving this was too hard as I am new to both). I don't seem to be able to change the way that links to my news items are rendered. I have tried making changes to the css for the news stylesheet and the summary template (see below).

All help welcome! TIA

/* link styles*/
a.itemtitle:link {
text-decoration: none; background: white;
}
.itemtitle:hover {
text-decoration: underline;
background: white;
}

{foreach from=$items item=entry}


{$entry->titlelink}


link}" title="Click here to view...">


{/foreach}

Re: News Module - Problem changing CSS

Posted: Thu Aug 09, 2007 5:15 pm
by Dr.CSS
Try...

/* link styles*/
.itemtitle a {
  text-decoration: none; background-color: #FFF;
}
.itemtitle a:hover {
  text-decoration: underline;
  background-color: #FFF;
}

Re: News Module - Problem changing CSS

Posted: Sat Aug 11, 2007 1:17 am
by timh
Thanks! That worked fine.