Jump to content


Photo

Newslisting Snippet


  • Please log in to reply
5 replies to this topic

#1 Augustus

Augustus

    Etomite Forum Newbie

  • Member
  • 4 posts

Posted 21 April 2006 - 04:45 PM

Etomite Content Management System 0.6.1 Final (Prelude)
NewsListing Snippet

Can you tell me where the css styling is for this snippet?

I can see some inline styles and<fieldset> <legend>, but cannot find the .css
file that controls the styles.

TY

#2 Ralph

Ralph

    Loves Etomite Forums!

  • Admin
  • 6,539 posts

Posted 21 April 2006 - 04:48 PM

Etomite Content Management System 0.6.1 Final (Prelude)
NewsListing Snippet

Can you tell me where the css styling is for this snippet?

I can see some inline styles and<fieldset> <legend>, but cannot find the .css
file that controls the styles.

TY

The style.css file in use depends on which template you are using and the path should be located in the template code itself... The default template, New-E, uses templates/new-E/new-E.css...

#3 Augustus

Augustus

    Etomite Forum Newbie

  • Member
  • 4 posts

Posted 21 April 2006 - 05:08 PM

Thanks Ralph,

I am applying the call [*content*] cut and pasted into my own template, using my own default.css located in template/myTemplate/assets.

The NewsListing snippet is picking up most of the styling from my default.css, font size and style. I am trying to lose the border but cannot find the call to create border: xxx

#4 Jim Browski

Jim Browski

    Likes Etomite Forums!

  • Member
  • PipPip
  • 163 posts

Posted 21 April 2006 - 06:41 PM

The NewsListing snippet is picking up most of the styling from my default.css, font size and style. I am trying to lose the border but cannot find the call to create border: xxx


The build-in newssnippet uses <fieldset> and <legend> to structure the output. Normally this is used in forms. Browsers automatically draw borders around a fieldset as a default setting. To get rid of this border you have to put something like this in your css-file:

fieldset {border: 0px none;}
Hint: There are some newssnippet in the snippet library that use divs and headers whose layout could be customized more easily.

#5 Ralph

Ralph

    Loves Etomite Forums!

  • Admin
  • 6,539 posts

Posted 21 April 2006 - 08:01 PM

What Jim said... B)

#6 Augustus

Augustus

    Etomite Forum Newbie

  • Member
  • 4 posts

Posted 21 April 2006 - 11:35 PM

Thank you Jim and Ralph....




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users