Serious problem with list-style.. help

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
9/27/2011 7:57:55 AM
Gravatar
Total Posts 51

Serious problem with list-style.. help

Big up for the new cool new skin on mojoPortal!

I´m having problems making list-style:none; on my unordered list.

I found in the style.css of my skin where the bullets come from, but I can not override it!

.art-blockcontent-body ul li
{
  line-height: 125%;   
  color: #121212;
  padding: 0 0 0 16px;
  background-image: url('images/blockcontentbullets.png');
  background-repeat: no-repeat;
}/* end Box, BlockContent */


.art-post ul>li
{
  background-image: url('images/postbullets.png');
  background-repeat: no-repeat;
  padding-left: 16px;
  /* makes "ul li" not to align behind the image if they are in the same line */
  overflow-x: visible;
  overflow-y: hidden;
}

I have tried every scenarios... ".mylist ul li {list-style:none;} , ul.mylist li {list-style:none;}". Nothing seems to work. 

Hope you can help. Thanks

9/28/2011 2:57:04 AM
Gravatar
Total Posts 51

Re: Serious problem with list-style.. help

Any help??

9/28/2011 11:54:22 AM
Gravatar
Total Posts 18439

Re: Serious problem with list-style.. help

you need to use Firebug or other browser developer tools to inspect the element and find out what style rules are being applied to it. For your custom style rule to override a style rule in style.css, your rule needs to be more specific and it needs to be lower in the resulting css (ie in a file below style.css in the list of files in style.config). You also need to consider whether css caching is preventing your changes from being visible.

Hope that helps,

Joe

9/28/2011 2:22:01 PM
Gravatar
Total Posts 51

Re: Serious problem with list-style.. help

Thanks Joe, I´ll review my skin.

Thanks

You must sign in to post in the forums. This thread is closed to new posts.