simpla sidebar – maybe a general list question
-
I have the Simpla 1.01 theme (modified a bit) running successfully (as far as I can tell so far) working in 2.5. It’s a new blog and I haven’t really put it through all it’s paces yet. I had started it on wordpress.com and was able to export very easily (thank you).
I changed the sidebar.php and made a functions.php per the Automattic ‘widgetizing themes’ doc. Very nice and easy!
But how do I get rid of the dots in front of my headings? I’m sure it has to do with the type of list they are or the h2-ness of them. But I don’t know where to get rid of them.
mostlygardening.com
-
malisa,
You need to add one line of code to your style.css file:
/************************************* +Sidebar *************************************/ #sidebar{list-style-type:none;} #sidebar ul{ list-style-type:none; margin:0; padding:0; }
The added line is:
#sidebar{list-style-type:none;}
.Unlike most, your sidebar IS an unordered list.
Thanks. I’ll do that.
I just followed the instructions on that Automattic doc. I basically just re-wrote it.
Am I better off changing it? Is there a better way? While things are still bare…I’d rather change it now, rather than later if there’s a better way.
Also, being so new, I don’t feel qualified to say, but should I post/tell someone that Simpla works in 2.5? It’s not on the ‘works’ or ‘doesn’t work’ list.
The quick fix would be to add the line to you stylesheet as I stated above. This is not a problem with the theme, but something that came about through your customizations.
From Simpla:<div id="sidebar">
– sidebar.phpFrom your site:
<ul id="sidebar">
See, your stylesheet had no way of knowing that it should remove the bullets from #sidebar. I don’t see any reason to report the theme.
Am I better off changing it?
Only if you want the bullets to disappear.Is there a better way?
You could use<div id="sidebar">
instead of<ul id="sidebar">
Thanks. I did what you suggested. Worked perfect.
I knew it was an issue that came about due to my changing the sidebar from the theme’s original. I was just suggesting that I report that the them IS 2.5 compatible.
Thanks again.
- The topic ‘simpla sidebar – maybe a general list question’ is closed to new replies.