Add this to your theme’s style.css
#sidebar ul ul li {
border-bottom:1px dotted #DDDDDD;
}
Thread Starter
arkie
(@arkie)
Any other ideas on how to do this?
do you not think it is inconsiderate to bump (against the forum rules, anyway) with a minor problem?
your site has some validation problems:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.arkie.org%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
one of which stopped the code suggested by @mercime to work.
i strongly suggest that you fix the validation errors before trying to fix a dotted line.
Thread Starter
arkie
(@arkie)
How do I fix those validation problems?
the validation report says quite clearly which element is wrong or missing (obviously in the rendered html file – so you need to deduct which php file is generating the code and which html tag to edit).
you would start from the top of the list, and try to remedy as many errors as possibel, checking the validation inbetween, as many errors are following from the ealier ones and might be resolved be solving the ones at the top of the list.
some errors are also repeated per post as the mght be in the wordpress loop part of your files.
always make a backup copy of your files, just in case
in your case it starts with a missing ul tag in sidebar.php (which seems to be modified from the original download):
(if you don’t really know what to edit, post the sidebar.php code here (use the ‘code’ button above this editor window)):
edit, directly after <div id="sidebar"> add <ul>
and at the bottom of the file before </div> add </ul>.
this should hopefully resolve some of the validation errors.
other error messages are not so important and have no effect on the design, such as the one referring to ‘role’ or the ones complaining about the writing with capital letters – css should be all lower case.
in the meantime, patch your design by modifying the code that @mercime gave you:
#sidebar ul ul li, li.twitter-item, .blogroll li {
border-bottom:1px dotted #ddd;
}
good luck, happy learning 😉