Hot Architecture template - Newsflash module help

  • mosskit
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago #4505 by mosskit
Hi again!

Is it possible to reduce number of buttons in newsflash module to four. There's normally five but it's too much for my layout. Waiting for solution guys.

Please Log in to join the conversation.

More
13 years 11 months ago #4508 by ivan.milic
In module parameters there is field named "Number of articles". Set the value to 4 , also this will cause newsflash module to display 4 articles instead of 5.

Please Log in to join the conversation.

  • mosskit
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago #4509 by mosskit
Well.. I didn't notice that, what a shame :)

In a meanwhile a new problem occurred. Can someone tell me where I will find a button's graphics from the newsflash module with that little white puzzle? I would like to prepare my own graphics. And is it possible to change the button's font colour, from black to other?

Please Log in to join the conversation.

More
13 years 11 months ago #4511 by ivan.milic
CSS for that module is in:

modules\mod_hot_newsflash\tmpl\style.css
and
modules\mod_hot_newsflash\tmpl\default.php

images are in:

modules\mod_hot_newsflash\images

Please Log in to join the conversation.

  • mosskit
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago - 13 years 11 months ago #4514 by mosskit
Well i have found the style.css of newsflash module but can't change the colour of fonts..

I tried to edit line 15 and add "font-color:#444444;" so it looked like this:

#featured ul.ui-tabs-nav li {

padding:0;

font-size:11px;
font-color:#444444;

}

But it didn't work. Check it out: www.synergia-krosno.eu/synergia/

Can someone suggest what to do?
Last edit: 13 years 11 months ago by mosskit.

Please Log in to join the conversation.

More
13 years 11 months ago #4525 by ivan.milic
Well css has respect to property priority.

More target element precise definition will have advantage.
Later definition will have advantage.
style attribute in html tag is more stronger than any css def.

So easiest way to solve this is to use Edit HTML option in Template Manager,
then locate <body> tag and put that css just before that tag:
...
<style type="text/css">
padding:0;

font-size:11px;
font-color:#444444;

</style>

<body>
....

This way that values will overwrite all previous set values and you will get desired result.
The following user(s) said Thank You: mosskit

Please Log in to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum