Friday, 28 November 2014 21:41
beggarly

header font color

Groups your news by sections or by categories

header font color

Postby jazzbird » Sun Jun 14, 2009 10:06 pm

hi, thanks for the nice extension, but...
how does one control the color of the text in the header? I see there is an option in the module for header background color, but not for header text? Any reason for this omission? The same goes for the content area text.
Thanks for any help,
jazzbird
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Sun Jun 14, 2009 10:03 pm

Re: header font color

Postby jazzbird » Sun Jun 14, 2009 10:22 pm

in face where is the gn_header_1 class hidden? I can't find it anywhere...
jazzbird
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Sun Jun 14, 2009 10:03 pm

Re: header font color

Postby jazzbird » Wed Jun 17, 2009 8:00 pm

hello? any advice from anyone?
jazzbird
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Sun Jun 14, 2009 10:03 pm

Re: header font color

Postby chus » Thu Jun 18, 2009 7:13 am

Hi!

Maybe we have ommited a classed tag before gn_header_ for you to better control it via css, so we will soon update the module with it.

However, including a parameter for every possible style variation is not possible, and you should still try to handle such a matter via css.
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: header font color

Postby jazzbird » Thu Jun 18, 2009 7:59 pm

thank you chus, I much appreciate it. When do you think the updated module should be available?
Also where is this css file? I couldn't find it?
jazzbird
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Sun Jun 14, 2009 10:03 pm

Re: header font color

Postby chus » Fri Jun 19, 2009 6:28 am

There is no CSS file in it. If you want to customize it, then you need to declare your new styles in your template.css for instance.

I have just uploaded the updated module with the very little difference of the <span class=gn_header> tag arround the header so you could for example write
Code: Select all
.gn_header a {
color:red;
}


if it is linkable, or
Code: Select all
.gn_header {
color:red;
}


if not, in order to customize it.

I hope that helps!
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: header font color

Postby jazzbird » Sat Jun 20, 2009 5:53 pm

thanks very much for your help chus.
jazzbird
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Sun Jun 14, 2009 10:03 pm

Re: header font color

Postby jazzbird » Sat Jun 20, 2009 7:08 pm

After trying this out I think the class you added is not gn_header but gn_header_1. Otherwise it seems to work!
jazzbird
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Sun Jun 14, 2009 10:03 pm

Re: header font color

Postby jazzbird » Sun Jul 05, 2009 3:58 am

there seems to be a problem. Every module appears to need its own class, so the first module needs .gn_header_1 defined, the second needs .gn_heaver_2, etc...

Is there no way of setting the css for .gn_header which will affect all headers for every occurrence of globalnews?

thanks
jazzbird
Fresh Boarder
Fresh Boarder
 
Posts: 9
Joined: Sun Jun 14, 2009 10:03 pm

Re: header font color

Postby moje » Sun Jul 05, 2009 1:02 pm

In file mod_globalnews.php between line 30 and line 35 add
Code: Select all
   .' color:#ff0000;'
moje
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Fri Jul 03, 2009 3:12 pm

Next

Return to Global News



Who is online

Users browsing this forum: No registered users and 1 guest