NFS height?

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
taurchu
New Member
New Member
Posts: 5
Joined: Thu Oct 25, 2007 10:19 am

NFS height?

Post by taurchu »

how can i change news flash scroller's height?
Metal Beryl
Forum Members
Forum Members
Posts: 69
Joined: Wed Apr 18, 2007 9:57 am

Re: NFS height?

Post by Metal Beryl »

Has anybody figured this out yet? I need to control the height on my nfs i've installed!
cheers
Jane
Metal Beryl
Forum Members
Forum Members
Posts: 69
Joined: Wed Apr 18, 2007 9:57 am

Re: NFS height?

Post by Metal Beryl »

ok i've figured it out. I created a style and set the height. In the nfs module under display options just add the name of the style to the empty box CSS classname:

Hope that helps some people!
romane

Re: NFS height?

Post by romane »

Metal Beryl wrote: ok i've figured it out. I created a style and set the height. In the nfs module under display options just add the name of the style to the empty box CSS classname:

Hope that helps some people!
Hi Metal Beryl,

so say i put "nfsheight' in the css classname, where do I put {height: 600px;} ? in the news style sheet? is it linked to this?
thanks
DavidG
Forum Members
Forum Members
Posts: 26
Joined: Wed Aug 20, 2008 10:02 am

Re: NFS height?

Post by DavidG »

I'm also looking to do this.  what css file do I need to edit ?

thanks
Chris F
Forum Members
Forum Members
Posts: 31
Joined: Wed Jan 28, 2009 3:33 pm

Re: NFS height?

Post by Chris F »

More details since I just worked on this. Took me a while to get it right.

In a stylesheet assigned to a page that your nsf tag is in, put

.nsf {
  height: 65px;
  width: 471px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 30px;
  padding-right: 30px;
  background: url(uploads/images/site_images/scroll_background.gif) no-repeat;
}

In the NSF settings, put "nsf" without the quotes in the Classname field.

Put your tag on the page and it will inherit the class settings.

Here's a link to a page with a lot of the attributes that you can define:

http://www.java2s.com/Code/HTMLCSSRefer ... erties.htm

Hope this helps.
Post Reply

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