A Double Vision Sidebar Title Fix (From My Inbox)
Oh, that was too easy.
But I wonder if you know... It was easy for me to do it on the HTML elements, but if I try to put a title above, let's say, the Archive, I get this dotted red line between the archives title and the archives...
I'm sure it's simple to get rid of the line (it comes with the Minima design), but I kind of like it elsewhere on the blog. My life is so complicated. Can you think of a way around it?
This question was posed to me from People in the Sun. If your template is styled to have any type of division (ie red dotted lines) between your sidebar widgets, here is your work-a-round for Double Vision Sidebar Titles in widgets other than those you paste content in the widget window. As a matter of fact, that is all widgets except for Text and HTML/Javascript, I believe.
Before beginning, backup your template...you always do. Right?
First Step:
Read Double Vision Sidebar Titles and do the first step. Then this will be the second step for all widgets except Text and HTML/Javascript.
Second step:
Open your Dashboard | Layout | Edit HTML. Check Expand Widget Contents. Find the widget in question. In this instance it is Archives. Locate this part of the widget code:
<b:section class='sidebar' id='rightsidebar' preferred='yes'>Replace the red line with the following green line:
<b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<b:section class='sidebar' id='rightsidebar' preferred='yes'>Save template. With those changes, you can see double vision in all widget titles!
<b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'>
<b:includable id='main'>
<b:if cond='data:title'>
<h3>SIDEBAR TITLE</h3>
<h4>SIDEBAR TITLE</h4>
</b:if>
See: Double Vision Sidebar Titles (From my Inbox)
11 Comments:
Thanks. I've made some changes. Looks great now.
Maybe this is a good time to say that I find it disturbing that your blog loads really slow, because of several (futile?) widgets (especially from amazon).
Hope you can have a look at this :)
hmmm, i think i'm gonna bookmark this blog.
good day!
I tried to edit my sidebar but it is too tough for me. I have to have some practice.
Rather slow blog. My blog takes sometimes 2-3 minutes to load, and the server is next door. It is Geld lenen
--> bookmark,
i'm reading this blog for a month now, and to motivate you; you're good busy dude.
Thanks for sharing!
there is a really good backup widget available for wordpress! just search for it in the service pack.
Thanks for another helpful tip on how to make our blogs look more beautiful and pleasing to the eyes...I'm sure a lot of bloggers find your blog informative and helpful.
Thanks for giving another important tip to all the bloggers.
Yeah, but it is too easy when you explained it.