Carrie ([info]carriep63) wrote in [info]s2_bloggish,
@ 2006-11-15 12:21:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:css, css:css guide, tutorial, tutorial:css

[All] A CSS guide to Bloggish


The Bloggish layout is one of the most versatile S2 styles for CSS designers. Almost everything has a class, and it's all extremely flexible. I have not included every single class in the following breakdown, but instead focused on the "common" and most easily explained classes.

  • This is for all account types.

  • Basic (free) account users will not be able to customize the comments page.

  • You must have a basic working knowledge of CSS


You may comment on this entry for questions concerning this tutorial only. General questions for the Bloggish style can be posted in [info]s2_bloggish or [info]s2bloggish.

[edit] there is not a default stylesheet for Bloggish. Each style has it's own stylesheet. You can always right click and "view source" then look for the link to the stylesheet. It will look something like this:

<link rel="stylesheet" type="text/css" href="linktostylesheet.css">


Quick Links
» Main Page and Header
#body
a, a:visited, a:hover
#container
#container-inner
#banner, #banner-inner
#banner-header
#banner-description
#pagebody, #pagebody-inner
#alpha, #beta, #gamma
.content-nav
h2.date-header
» Entries
.entry
h3.entry-header
.entry-userpic
p.poster
.entry-content
.entry-body
.ljtags
.entry-footer
.separator
» Sidebar
.module
.module-photo
.module-viewlinks
.module-calendar
.module-typelist
.module-categories
.module-pagesummary
.module-syndicate
.module-powered
.module-header
.module-content
ul.module-list
li.module-list-item
li.module-list-item a
» Comment Page **
.comments
.comments-content
.h3.comments-header
h3.comment-header
.comment-userpic
.comment-content
.comment-footer
.comment-replies
**Customization available to paid or plus accounts only!

» Tags Page
ul.ljtaglist
.ljtaglist li





Main body and header
body

description: The page in it's entirety. Insert a background or change font preferences here.
location: Everywhere.
a, a:visited, a:hover

description: General link styles. Set colors, background, etc.
location: The page in general.
No Image
#container

description:Main container that holds the banner and all of the columns.
location: n/a
#container-inner

description:Container inside of main container. Used for padding and margin purposes.
location: Inside of main container.
#banner

description: The header that holds the page title and description.
location: Top of page above entries.

#banner-inner

description: Container inside of main banner. Used mainly for margin and padding purposes.
location: Inside #banner.
h1#banner-header

description:Main page title
location: Inside of banner.
h2#banner-description

description:Page subtitle
location: Inside of banner.
#pagebody

description:Main container for entries and sidebar(s)
location: Inside of container, under the banner.


#pagebody-inner

description:container inside pagebody. Used mainly for margins/padding purposes.
location: Inside of pagebody.
#alpha, #beta, #gamma

description:containers for the entries and sidebar(s)
location: Inside of pagebody.


#alpha-inner, #beta-inner, #gamma-inner

description:containers inside #alpha, #beta, #gamma used for margin/padding purposes.
note: for more info see this tutorial
.content-nav, .content-nav a, .content-nav a:hover

description:The "previous entries" link
location: Above and below entries.
h2.date-header

description:Date and time
location: Above the entries.
.skiplinks

description: Previous day/Next day links at the bottom of page
location:Bottom of #alpha column on the entry page.





Entries (back to top)
.entry

description:container for subject, userpic, entry text and comments
h3.entry-header

description:Subject Line
location: Inside of entry box
.entry-userpic

description: Container that holds the userpic and poster name
location: Inside of entry box.
note: This is default set to be on the right side of the entries. You can move this to the left by using "float:left;" in the CSS.
.entry-userpic{ float:left !important; }
p.poster

description: Poster's name and link to journal
location: Under userpic on friends page or is journal is community.
.entry-content

description: container for entry text, metadata, tags and comments.
location: Under the subject.
.entry-body

description: inner container for entry text, metadata, and tags. (not comments)
location: Under the subject, inside of the entry-content.
.metadata

description: mood and music
location: Inside the entry-body above entry text.
.ljtags

description: entry tags
location: Inside the entry-body below the entry text.
.entry-footer

description: "Posted by" and comment links
location: Below the entry text.
.separator

description: "|" that separates comment links from each other
location:Inside the entry-footer.





Sidebar (back to top)
.module

description: an individual box in the sidebar
location: Sidebar.
.module-photo

description:Icon module
location: Sidebar.
.module-viewlinks

description:module that holds the navigation list.
location: Sidebar.
.module-calendar

description:module that holds the calendar.
location: Sidebar.
.module-typelist

description:module that holds the link list.
location: Sidebar.
.module-categories

description:module that holds the tag list.
location: Sidebar.
.module-pagesummary

description:module that holds the page summary.
location: Sidebar.
.module-syndicate

description:module that holds the syndicate links.
location: Sidebar.
.module-powered

description:module that holds the "powered by livejournal" box.
location: Sidebar.
.module-header

description:module titles
location: top of sidebar module.
note: You can get specific with these by using module names. ".module-viewlinks .module-header" will only affect the content in the viewlinks module.
.module-content

description:container that holds the content of a module
location: inside of "module".
note: You can get specific with these by using module names. ".module-viewlinks .module-content" will only affect the content in the viewlinks module.
ul.module-list

description:Container for link lists
location: Navigation list, Link list, tag list, page summary.
note: You can get specific with these by using module names. ".module-viewlinks ul.module-list" will only affect the content in the viewlinks module.
li.module-list-item

description:item inside of the unordered list
location: Navigation list, Link list, tag list, page summary.
note: You can get specific with these by using module names. ".module-viewlinks li.module-list-item" will only affect the content in the viewlinks module.
li.module-list-item a

description:links inside of the list items
location: Navigation list, Link list, tag list, page summary.
note: You can get specific with these by using module names. ".module-viewlinks li.module-list-item a" will only affect the content in the viewlinks module.





Comment Page (back to top)
.comments

description: Main holder for the comments
location: Comment page, below the entry.
.comments-content

description: Inside holder for the comments
location: Comment page, below the entry, below the comments-header.
h3.comments-header

description:Title of the comments section. Separates the comments from the entry.
location: Comment page, below the entry.
h3.comment-header

description:Title of the comment. Not to be confused with ".comments-header" !!
location:Inside comment, above the comment text.
.comment-userpic

description:Userpic of comment poster
location:Inside comment, default is on the right side.
.comment-content

description:Text of the comment. Not to be confused with ".comments-content" !!
location:Inside comment, below .comment-header.
.comment-footer

description:Links at the bottom of the comment
location:Inside comment, below the text.
.comment-replies

description:Reply to a comment above.
location:Below a comment on the comment page.
Note: How awesome is this?! You can change the indent of a comment reply here, or you can change the color of a reply... I just think this is the neatest thing ever!





Tags Page (back to top)
ul.ljtaglist

description: Unordered list that holds links to journal tags.
location: Tags page.
.ljtaglist li

description: List item in the tag list
location: Tags page.



Page 1 of 2
<<[1] [2] >>

(Post a new comment)


[info]ivles
2006-11-16 10:25 am UTC (link)
Great work and dedication d(^.^)b

(Reply to this)


[info]mlatazz
2006-11-16 03:16 pm UTC (link)
I'm seriously impressed. You make me want to play with bloggish now. :)

(Reply to this) (Thread)


[info]mlatazz
2006-11-16 03:17 pm UTC (link)
and I meant to comment with [info]newkidfan. This is my test lj. :)

(Reply to this) (Parent)(Thread)

(no subject) - [info]carriep63, 2006-11-16 03:25 pm UTC

[info]liam22
2006-11-16 08:17 pm UTC (link)
This is so completely amazing. Thank you so much for putting this together. I can't wait until I have some time to fool around with my layout.

(Reply to this)


[info]dusk_eyed
2006-11-17 03:09 pm UTC (link)
Erg. I'm sorry to bother and this feels really stupid. I want to change the width of the left sidebar and the entries.

I've tried changing the width of alpha and beta but it doesn't seem to make any difference. Any help would be greatly appreciated.

(Reply to this) (Thread)


[info]erinya
2008-05-12 09:00 am UTC (link)
I know it's been awhile, but if you remember, what's the solution? I'm having the same problem (with the right sidebar) and it's driving me nuts. Changing alpha and beta makes no difference....

(Reply to this) (Parent)


[info]dusk_eyed
2006-11-17 03:56 pm UTC (link)
Never mind, I figured it out. Thanks for this tutorial though. It's great!

(Reply to this)


[info]londonelectric
2006-11-23 07:47 pm UTC (link)
thanks so much for this, it's helped a lot <3

one question, though - how would you go about completely hiding whatever is in the header and replacing it with just one image?

(Reply to this) (Thread)


[info]touchyphiliac
2006-11-27 03:36 am UTC (link)
Delete it on the main page of customize: remove any text from the "journal title and subtitle" boxes.

(Reply to this) (Parent)(Thread)

(no subject) - [info]syllidian, 2006-11-27 05:19 am UTC
(no subject) - [info]syllidian, 2006-11-27 05:19 am UTC
(no subject) - [info]touchyphiliac, 2006-11-27 06:10 am UTC
(no subject) - [info]wrin, 2007-02-05 02:39 am UTC
(no subject) - [info]wrin, 2007-02-05 02:39 am UTC
(no subject) - [info]syllidian, 2007-02-05 03:46 am UTC

[info]thereal_anabel
2006-12-01 01:05 am UTC (link)
Thank you so much! I've been waiting for this! :D

(Reply to this)


[info]rhap_chan
2006-12-05 07:43 am UTC (link)
This tutorial was incredibly useful. I love CCS and HTML coding, but I've been hesitating to dip my hand into LJ layouts, not knowing the names of all of the IDs and headers, but this was just what I needed.

I have just one question: how do I remove the little arrow buttons that are in the sidebar link list, the date header, and a couple of other places? If you could answer this question I would greatly appreciate it. ^__^

(Reply to this)


[info]magnet_dragon
2006-12-15 02:23 am UTC (link)
When I have my firstborn, you totally get the kid.

Totally.

(Reply to this) (Thread)


[info]carriep63
2006-12-15 03:09 am UTC (link)
No way. You're not pawning your kids off on me!! In fact, if you want to repay me then take one of mine for awhile. :P

(Reply to this) (Parent)(Thread)

(no subject) - [info]magnet_dragon, 2006-12-15 07:50 am UTC

[info]ilunas
2006-12-21 01:36 pm UTC (link)
do you know what the names for classes affecting the calendar pages are? Or are there none, and I should go about creating an s2 layer or something? (and if so, do you know anything about it?)

(Reply to this) (Thread)


[info]carriep63
2006-12-21 02:53 pm UTC (link)
I didn't get to the archive page at all... as far as I can see, everything is the same except for the table holding the dates.

The year is li.active{} and that is the only other class I see. The table structure is like this:

table = main container
tr = new row
th = header (December)
tr = new row
th = days of the week
tr = new row
td(s) = boxes holding the days
div(s) = boxes holding the actual number in the td
a = link to entries made that day (not inside of the div!)

(Reply to this) (Parent)


[info]faceon
2007-01-28 09:51 pm UTC (link)
this is amazing. thanks a mill.

(Reply to this)


[info]dana_cz
2007-01-30 09:31 am UTC (link)
Great work, thanks for this!! ♥ I just wanted to ask, I have my own background for the subject of entries, but when there's no subject, the background is not there and it doesn't say 'no subject'. Any idea how to customize this?

(Reply to this)


[info]tifx
2007-01-31 03:19 am UTC (link)
Yaaay this helped me make a pretty cool layout, and it actually looks okay in IE, which is always a surprise lol...

Anyway, thanks a ton!!

(Reply to this)


[info]ivles
2007-03-16 07:54 am UTC (link)
carrie, do you have the element map? or do you know somewhere where I can look for the element map?

example for tranquility 2:
Tranquility 2 Topographic Information for Recent Page

thanks

(Reply to this) (Thread)


[info]carriep63
2007-03-16 01:06 pm UTC (link)
I've never actually heard of this, sorry. I use the web developer toolbar for firefox.

(Reply to this) (Parent)(Thread)

(no subject) - [info]ivles, 2007-03-17 02:39 am UTC

[info]thereal_anabel
2007-03-28 09:06 pm UTC (link)
I find this tutorial really, really useful. But can you tell me what this bit of code applies to, please?

.module-mmt-calendar { margin-bottom: 15px; }
.module-mmt-calendar .module-content { margin: 0; color: #0AADAF; }
.module-mmt-calendar .module-header { margin: 0; }
.module-mmt-calendar .module-header a { text-decoration: none; }
.module-mmt-calendar table { width: 100%;}
.module-mmt-calendar th { text-align: center; }
.module-mmt-calendar td {width: 14%; height: 75px; text-align: center; vertical-align: top;}

.day-photo {width: 54px; height: 54px;}
.day-photo a {display: block;}
.day-photo a img {width: 50px; height: 50px;}

(Reply to this) (Thread)


[info]carriep63
2007-03-28 11:36 pm UTC (link)
I'm not sure.

(Reply to this) (Parent)(Thread)

(no subject) - [info]thereal_anabel, 2007-03-28 11:45 pm UTC
(no subject) - [info]carriep63, 2007-03-28 11:46 pm UTC

[info]barbingpinay
2007-04-03 04:38 pm UTC (link)
Hi!:) im using your layout from freelayouts. Im still trying to fix it,. is there any way i can remove the links (recent info, etc)?

(Reply to this)


[info]blowdry
2007-04-14 04:12 am UTC (link)
This is very helpful since I just started messing with Bloggish. I plan to use it for my next layout, but I have a question: How do I move the navigation links (Recent Entries, Archive, Friends, User Info) to the top, just under where my banner will be? I can't seem to figure it out.

(Reply to this)


[info]blackcorpse
2007-04-16 06:46 am UTC (link)
I have one just question: how to change the text in the entries' and comments' footer?

(Reply to this)

Question: how to add a new module?
[info]duseg
2007-04-18 12:50 am UTC (link)
hi! i have only started messing around with live journal layouts. i have just organized a community: and at first it looked that bloggish was the best idea. only nowi am stuck, because i know that in other layouts it is possible to add information from profile or just some text in the side bar. i can't seem to find the option among modules how to allow that to happen.

can i add a module? or is there an option which just turns that on?

thank you!

(Reply to this) (Thread)

Re: Question: how to add a new module?
[info]carriep63
2007-04-18 02:06 am UTC (link)
That is a customization reserved for paid users only. Tutorial

(Reply to this) (Parent)(Thread)

Re: Question: how to add a new module? - [info]duseg, 2007-04-18 02:10 am UTC

[info]banana_cave
2007-05-29 05:52 am UTC (link)
Thanks so much! This information is great. I just converted from a different style and I love this one so much more because it's easy to use CSS.

Just a quick question, how do you center your icon in the .module-photo? I tried using "text-align: center" but it is still aligned on the left. Any advice you have would be great! Thanks again.

(Reply to this)

noob again
[info]kittykatmario
2007-06-18 10:34 pm UTC (link)
Hi. I was just wondering, where can I find the css code to make all the changes shown in this tutorial?

(Reply to this)


[info]oversizedtee
2007-07-06 05:03 pm UTC (link)
hello, is there a way to put a border around my entry images. i tried to place codes for border at individual entries but it doesn't show up. btw, i'm using your my car layout. :)

(Reply to this)

(Deleted post)

[info]carriep63
2007-08-21 03:59 pm UTC (link)
Yes, we work together to eventually have one for each layout style. They are also written for Expressive, Smooth Sailing, Opal and Tranquility II.

http://www.livejournal.com/tools/memories.bml?user=wedesign&keyword=Css+Visual+Guides&filter=all

(Reply to this) (Parent)(Thread)

(no subject) - [info]ausmac, 2007-08-24 07:29 am UTC

[info]panda_monium
2007-10-12 02:07 am UTC (link)
This CSS map for Bloggish has been INSANELY helpful! I've actually gotten my InsaneJournal to look almost like my LJ (Expressive) layout using this and your other tutorials.

I do have a question about the padding at the top (above the header image). I can't seem to get it to go away! I've tried changing the container and container-inner, as well as the padding in a bunch of other places, but to no avail. This is what it looks like atm. I'd really like the header image to be flush to the top of the screen/browser instead of having that strip of white space. Help please? :X

Sorry if this was the wrong place for it, I didn't want to spam the community by making another post.

(Reply to this)


[info]jakisbishlygay
2007-10-26 06:08 pm UTC (link)
Is there a CSS template to use for making these changes?

(Reply to this)


Page 1 of 2
<<[1] [2] >>

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…