Forums

Products - English => NeoLatestNews => Topic started by: Mitchell Kray on October 15, 2007, 07:22:34 PM



Title: Removing ul/li attributes
Post by: Mitchell Kray on October 15, 2007, 07:22:34 PM
I am trying to figure out how to make my news show up without the • and added space before the titles.

Can this be done?


Title: Re: Removing ul/li attributes
Post by: Raphael on October 16, 2007, 09:22:34 AM
Hello Mitchell,

You just need to edit the CSS of the module. Add these lines in the template CSS file for example:

Code:
ul.neolatestnews li {
    list-style-type:disc;
}

ul.neolatestnews a {
    margin: 0px 0px 0px 10px;
}

Regards,


Title: Re: Removing ul/li attributes
Post by: Mitchell Kray on October 18, 2007, 05:03:47 PM
I don't have a CSS file for the NeoLatestNews module. there is only the PHP and XML file.

I tried adding to the customize.css and base.css but neither of those worked. Where should I be looking for the CSS files?


Title: Re : Removing ul/li attributes
Post by: Raphael on October 22, 2007, 05:43:08 PM
You need to add these lines in file /templates/[your_template]/css/template_css.css.

Regards,


Title: Re: Removing ul/li attributes
Post by: Mitchell Kray on October 23, 2007, 07:06:28 PM
Thanks!

Also, for anybody else wanting to do this, I added another line in there to reduce the amount of space around the text to the borders

Code:
ul.neolatestnewsmid li {
    list-style-type:none;
margin: 0px 0px 0px -15px;
}