Friday, 31 October 2014 13:41
beggarly

How can I change title text to another colour?

Groups your news by sections or by categories

How can I change title text to another colour?

Postby wberesford » Fri Jan 02, 2009 11:58 am

Hi
I have successfully installed the Global news module. I now have it working on my web page.

I would be very grateful if you could explain to me how I can change the colour of the article title text, at the minute it is the same colour as the "read more" text link.

Many thanks,

Wendy.
wberesford
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Fri Jan 02, 2009 11:46 am

Re: How can I change title text to another colour?

Postby chus » Wed Jan 07, 2009 2:46 pm

Hi, we have just released Global News version 2 which allows you to insert any html code to the content layouts. If you would like to try it, you can customize the title color and anything else by giving it a class name and adding the right statements to your template.css sheet.
For example, in the new "HTML Supported Code" textarea, write:
Code: Select all
<div class="newclass">GN_title</div>

and in template.css, something like:
Code: Select all
.newclass a {
      color:#3366CC;
}
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: How can I change title text to another colour?

Postby wberesford » Thu Jan 08, 2009 8:13 am

Thanks very much for the reply. I will try this out and post back.

Wendy.
wberesford
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Fri Jan 02, 2009 11:46 am

Re: How can I change title text to another colour?

Postby wberesford » Sun Jan 11, 2009 10:26 am

Hello again

I've delted my version of Global News and installed version 2, as suggested by yourself.
The module is up and running and I have done as you explained, but I am still unable to change the article title colour.

On the frontend I am able to see each article listed, although the bottom line of each article only shows the top half of the text and the read more link has disappeared - please help.

My CSS is:
.newclass a {
color:#000;
}
In the module HTML supported code for content layouts:
<div class="newclass">GN_title</div>
GN_image GN_text GN_date GN_readmore
GN_comments GN_break GN_space

Thank you
wberesford
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Fri Jan 02, 2009 11:46 am

Re: How can I change title text to another colour?

Postby wberesford » Sun Jan 11, 2009 11:12 am

Sorted the problem out - conflict with another CSS element, i am now able to change the article title colour.

Thank you for your support.
wberesford
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Fri Jan 02, 2009 11:46 am

Re: How can I change title text to another colour?

Postby laparsiut » Tue May 19, 2009 6:36 am

Hai..

i'm using global news version 2.1 (release in april 2008) and i'm also want to change the title color.
Firstly, I'm not a programmer and i'm not understand some of the terms above. I hope you all can show me :
1. what & where are the file you mean "HTML Supported Code"
2. where can i find template.css. Is it in the module/mod_globalnews folder or in template/mytemplate folder

TQ
laparsiut
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Tue May 19, 2009 6:29 am


Return to Global News



Who is online

Users browsing this forum: No registered users and 1 guest