One of my post CSS hacks for blogger, Glenn Paolo request me for CSS help. CSS hack code for Blogger's Blogroll widget.
You need to modify only one widget with html and CSS code. I am giving you a tutorial for that...
First, you have to find your widget id in your Edit Html section. Go to Blogger.com-> Layout->Edit Html.
Search for your unique widget title which you want to modify it. For example your widget title is Blogger Roll, then press CTRL+F and type Blogger Roll. Now you can see the line of code like this:
<b:widget id='BlogList1' locked='false' title='Blogger Roll' type='BlogList'/>The line which you have found your widget title, in the same line you can find the widget id something like BlogList1 as show above. Now you have found widget id BlogList1. After that you have to create new group of CSS.
Now search for ]]></b:skin>
#BlogList1{
background: #ffffff
margin : 6px;
padding : 10px;
border: 1px solid #DDD;
}
Place the above code just before ]]></b:skin> of course you can change color, margin, padding as you like. If you want to place background image instead of color see this post. If you want to decrease the characters in your blogger roll widget arrange the option as below
And that's it. Hope your problem is solved :)
#2 Now this is problem number 2 of Alpana. She was asking about how to separate comments in a bubble or box. You can see all of my comments are out lined. It's that magic of CSS. It well manage the comment and also it looks good. If you want to do that line mine follow the steps:
Step 1: Go to Blogger.com-> Layout->Edit Html.
Step2: Search for the below CSS code
#comments-block .comment-bodyAnd make it look like this:
#comments-block .comment-body {You can modify color what you like and that it! Now you can see border in your all comment :)
margin: .25em 0 10px;
padding-left: 20px;
border-right: 1px solid #EEE;
border-left: 1px solid #EEE;
border-bottom: 1px solid #EEE;
border-top: 1px solid #EEE;
}
#3 One of the blog Admin asked how to put the ads below the post title. I have already solved his problem in this post.
Hope you guys are satisfied with these tricks. See you in next post :)
Post a Comment