News Module - Problem changing CSS [solved]

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
timh
Forum Members
Forum Members
Posts: 15
Joined: Wed Apr 12, 2006 7:36 am

News Module - Problem changing CSS [solved]

Post 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}
Last edited by timh on Sat Aug 11, 2007 7:31 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: News Module - Problem changing CSS

Post by Dr.CSS »

Try...

/* link styles*/
.itemtitle a {
  text-decoration: none; background-color: #FFF;
}
.itemtitle a:hover {
  text-decoration: underline;
  background-color: #FFF;
}
timh
Forum Members
Forum Members
Posts: 15
Joined: Wed Apr 12, 2006 7:36 am

Re: News Module - Problem changing CSS

Post by timh »

Thanks! That worked fine.
Post Reply

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