indent category items
-
Can anyone help please? I am lost, tried several tricks, nothing seesm to work.
I would like to indent category items. Have checked previous entries, for me neither works. It has to be said that I am not an expert programmer.
I know that I sholud modify things in sidebar.php and style.css.
As of now I decided to use the default Kubrick theme.
I have the folowing code in my sidebar:
‘
- <h2>Categories</h2>
-
<?php wp_list_cats(‘sort_column=id&hierarchical=0’); ?>
‘
and this in style.css about lists:
‘/* Begin Lists
Special stylized non-IE bullets
Do not work in Internet Explorer, which merely default to normal bullets. */html>body .entry ul {
margin-left: 0px;
padding: 0 0 0 30px;
list-style: none;
padding-left: 10px;
text-indent: -10px;
}html>body .entry li {
margin: 7px 0 8px 10px;
}.entry ul li:before, #sidebar ul ul li:before {
content: “0BB 020”;
}.entry ol {
padding: 0 0 0 35px;
margin: 0;
}.entry ol li {
margin: 0;
padding: 0;
}.postmetadata ul, .postmetadata li {
display: inline;
list-style-type: none;
list-style-image: none;
}#sidebar ul, #sidebar ul ol {
margin: 0;
padding: 0;
}#sidebar ul li {
list-style-type: none;
list-style-image: none;
margin-bottom: 15px;
}#sidebar ul p, #sidebar ul select {
margin: 5px 0 8px;
}#sidebar ul ul, #sidebar ul ol {
margin: 5px 0 0 10px;
}#sidebar ul ul ul, #sidebar ul ol {
margin: 0 0 0 10px;
}ol li, #sidebar ul ol li {
list-style: decimal outside;
}#sidebar ul ul li, #sidebar ul ol li {
margin: 3px 0 0;
padding: 0;
}
/* End Entry Lists */’THANK YOU VERY MUCH!
- The topic ‘indent category items’ is closed to new replies.