Skip to main content

Complete Guide To blogger Default CSS

Here is the short CSS code and the definitions for everyone of them. No template has it all, you can add on one or two and give them your desired rules, so that they will change the look and feel of your blog. You can read the below information like this 'css code you need' - 'meaning/definition'.



Header:
#header-wrapper - the container that wraps your Blog Title and Blog Description.
#header - the container just inside the header-wrapper.
#header h1 - the command inside this containers controls the appearance and layout of your Blog Title.
#header h1 a - controls the properties of the Blog Title as a link text.
#header .description - the properties of your Blog Description.
#header a img - controls the properties of an image inside your header container.

Main and Post:
Main:
#main-wrapper - the container that wraps your Date Header, Blog Posts, Comments, Feed Link, and any widgets that you drag above or below the Blog Posts.
#main - the container just inside the main-wrapper.
#main .widget - controls the properties of all widgets inside the main container.
h2.date-header - sets the properties of your Date Header (just above your Post Title).
.post - sets the properties of your Blog Posts container.
.post h3 - sets the properties of your Post Title.
.post-body p - sets the properties of the body or content of your post.
.post ul - sets the properties of an unordered list (a list that is not numbered).
.post ol - controls the properties of an ordered list (a numbered list).
.post li - controls the properties of the individual list inside an unordered list or an ordered list.
a img - controls the general properties of an image (the a refers to a link; and an image is by itself a link).
blockquote - sets the quoted text in your posts.
code - sets the text contained within the code tags in your posts.
Post-Footer:
.post-footer - sets the overall properties of the post-footer container.
.post-footer-line - sets the properties for each new lines in the post-footer.
.post-footer a - sets the link text properties inside the post-footer.
.post-footer .post-comment-link a - sets the "comment" link inside the post-footer.
#blog-pager - controls the properties of the "newer posts", "home", and "older posts" links.
#blog-pager-newer-link - controls the properties of the "newer posts" link.
#blog-pager-older-link - controls the properties of the "older posts" link.
.feed-links - controls the "Subscribe to: Posts (Atom)" link.

Sidebars:
.sidebar-wrapper - the container that wraps all elements and contents in a sidebar.
.sidebar - the container just inside the sidebar-wrapper.
#sidebar1 - sets the properties inside sidebar1.
#sidebar2 - sets the properties inside sidebar2. If you want the properties inside sidebar1 and sidebar2 to be the same, than you can just the properties inside .sidebar and don't have to even write down the #sidebar1 and #sidebar2 in your CSS code.
.sidebar .widget - controls the properties of all the widgets (the Added Page Element) in your sidebar.
#sidebar1 .widget - only sets the widgets in sidebar1.
.sidebar .BlogArchive - sets the Blog Archive properties. Technically, this is a sidebar widget too, but I'm not sure why setting the properties for sidebar widgets doesn't change any properties for the Blog Archive. That's why I have to write down the .BlogArchive command to set its properties.
.sidebar h2 - sets the title/header properties of a sidebar widget.
.sidebar #BlogArchive1 h2 -sets the properties of the Blog Archive's title.
#Profile1 - sets the properties for the About Me block.
#Profile1 h2 - sets the title/header for the About Me block.
.profile-img a img - sets the image in the About Me block.
.profile-textblock - sets the author description About Me block.
.profile-data - sets the author's data in the About Me block.
.profile-datablock - sets the overall blocks of data in the About Me block.

Comments:
#comments - sets the overall comment container's properties.
#comments a - sets the link text properties inside a comment container.
#comments h4 - sets the header of the comment container.
.deleted-comment - sets the properties of the deleted comment.
.comment-author - sets the properties of the comment author.
.comment-body p - sets the comment body properties.
#comments ul - controls the unordered list inside a comment container.
#comments li - controls the individual list inside a comment container.

Footer:
#footer-wrapper - the container that wraps all elements and contents inside a footer section.
#footer - the container just inside the footer-wrapper.
#footer h2 - sets the properties of the footer title/header.
#footer .widget - controls the footer widget properties.
.footer a - controls any footer link texts.

You can see how my blog archive now has that scrollbar just by applying .sidebar .BlogArchive (yes you will need to put on open { and close } command by yourself.
eg:  .sidebar .BlogArchive {
                    height:300px; 
                    overflow-y:scroll;
                    }

You may start playing with this CSS now. As this is all CSS only, you don't need to Expand Widget Template and please be sure to backup your template first before proceed with any changes/css play.

Comments

Popular posts from this blog

Best DoFollow Blog directories list for seo

List of Dofollow Blog directories,
Note: some items have profile information some do not, doesn’t matter, they’re all DoFollow Blog directories so submit your blogs to them all.
DOFOLLOW BLOG DIRECTORIES

Bloghop.com
Year Site Created: 2000
Indexed Pages in Google: 103,000
Backlinks in Yahoo: 542,700
PageRank: 6
Link Status: Dofollow
Quantcast Rank: 200,223
Editorial Policy: Yes
Spam in index: No
Submission rules: From the website:
We will reject: Spam blogs, hate blogs, stolen blogs, links to non-blog websites, links to illegal or illicit topics like child pornography. Blogs with under 5 posts are no longer accepted, but they might be waitlisted for later review if they look cool.
Commercial blogs are fine, but they must be “fun and useful.” Because of the huge amount of robot-generated blogs being submitted, blogs with the following will not be approved for listing: Acne, Mesothelioma, Real Estate, Lawsuits, Insurance, Gambling, SEO, Web Marketing, Medical Procedures and En…

Get ip-address widget for your blogger

Here is a unique collection of  IP address widgets which shows your visitors their Ip address,operating system,country,browser and the version of the browser.It is cool thing to display  ip address to your visitor's specially if you have TECH related blog.
Now you can get these any of these widgets and add these to your blogs by following these steps -

Get Ip Address Widget for your blog

1 .Choose any widget they are in different size and shapes,choose any according to your blog requirement.
2. Login to blogger dashboard ,and the click on Layout - > page Elements .
3. ADD a new HTML/Javascript gadget anywhere in your blog.
4. Copy any code from below(all are working) and paste in to HTML / Javascript gadget and then save your gadget.
5 Done,Your widget is Now live


1 .Square Ip Address Widget (Height=125px, Width=125px)<!--Ip Address Widget Starts--><span style="display: block; text-align: center;"><a href="http://myfundoo-blog.blogspot.com">…

Add a reply option to blogger comments like Wordpress

If you Are using blogger platform for your blog than during some stage of your blogger life you must have noticed that blogger does not have Reply option to it comments.This is one of the major reason why people migrate towards Disqus or IntenseDebate comment Platform.
I suggest you to read this - Readers can't comment on your blog - Tip For You

With a very little change to your template you can add this hack to your blog.
This hack was originally posted on thisischen

ScreenShot :
Update - Previous Reply code was not working for some blogger templates.This is an updated version and work well with all templates
Adding Comment Replies to your blog.

Step [1] In your dashboard Click 'Layout' > 'Edit Html'> Tick the 'Expand Widget templates' box.

Step[2] Find the following code in your blogs Html : <data:commentPostedByMsg/> 

Step[3]. Paste the following code Directly Below/After <data:commentPostedByMsg/>  




<span class='comment-reply'…