1
otello
News module and my theme
  • 2004/6/28 12:09

  • otello

  • Friend of XOOPS

  • Posts: 24

  • Since: 2004/6/18


Hi,

I'm using a kind of blu theme a little modified by me ;)

When I try to install the news module (in the front page) the title of the news (where I can click on to access the news) It's black instead of white like all other mudules title.

I would like to keep this theme and change ONLY the colour of the title of the news. Any help ?

Otello.

2
tjnemez
Re: News module and my theme
  • 2004/6/28 12:18

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


can you provide a link to your site?

3
intel352
Re: News module and my theme
  • 2004/7/1 21:38

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


i'm assuming you have News set as the top-listed module in the module navigation menu. likely the "menuTop" css class is set to a color that you didn't expect (menuTop defines the style for the first entry in the block, it seems)

4
tl
Re: News module and my theme
  • 2004/7/1 21:51

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


The news title is controlled by the following css code (example - XOOPS site first news item )

<!-- start news item loop -->
  <
div class="item">
  <
div class="itemHead">
[
color=d84848] <span class="itemTitle">[/color]
  <
a href='https://xoops.org/modules/news/index.php?storytopic=9'>YAXS</a>
&
nbsp;:&nbsp;<a href='https://xoops.org/modules/news/article.php?storyid=1578'>
New (
ish) XOOPS sites</a></span>
</
div>
...

Making change to "itemTitle" class in style.css file will fit your need.
.itemTitle a {font-size: 130%; font-weight: bold; 
font-variant: small-caps; color: #ffffff; background-color: transparent;}

5
intel352
Re: News module and my theme
  • 2004/7/1 22:16

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


ah, i guess he was referring to the news article link. okay, lol