she dreams with stars in her eyes ([info]chasethestars) wrote in [info]lj_design,
@ 2006-09-14 14:34:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:expressive, guide

Customizing Expressive
When I first introduced Expressive, I mentioned that the CSS was duplicated from Vox. There are a lot of stylesheets, and a lot of ID and class names, which can be intimidating at first, and very frustrating when you're trying to change something but the change isn't showing up because it's in the wrong place.

Customizing Expressive shouldn't be hard if you understand CSS, but understanding Expressive first might help. So I made you this guide! *g*

There's also a layout help community for Expressive – [info]s2expressive. Check it out if you need help with Expressive, or if you want to help others.

Expressive Explained

Here are some things that may be helpful to know if you want to customize Expressive.


Column Variations:

Expressive has 4 different layout types to choose from:

  • 3 columns with entries on the left and 2 sidebars to the right
  • 3 columns with entries in the middle and a sidebar on either side
  • 2 columns with entries on the left and a sidebar on the right
  • 2 columns with entries on the right and a sidebar on the left

The entries column is named Alpha. Beta and Gamma are the sidebars. You will find a variation of layout-wtt in the HTML based on the layout type you have selected from the Customize wizard. This is a class that can be styled. W stands for a wide column, and T is for a thin column. This is the order the columns appear based on the selected layout type.

  • layout-wtt – Alpha Gamma Beta
  • layout-twt – Beta Alpha Gamma
  • layout-wt – Alpha Beta
  • layout-tw – Beta Alpha

Stylesheet Structure:

These are stylesheets we pulled from Vox. They are the same as they are on Vox so that if something gets updated, we can replace the whole stylesheet rather than find and make each individual change on the LJ copy.

  • base.css – resets styled elements to its default
  • default/screen.css – default styles across all themes
  • theme/screen.css – styles for theme
  • theme-variation/screen.css – images and color changes per theme variation

These are the stylesheets we added to override any styles set in the Vox stylesheets, and also to add in new classes that are specific to LJ:

  • ljextras.css – things specific to LJ that aren't in Vox
  • theme.css – if a theme has something that needs to override any of the preceding stylesheets, this stylesheet may also show up

If you add custom CSS, it comes after all the other stylesheets.

  • custom stylesheet url
  • custom CSS (from the custom CSS box)

Customizing Stylesheet(s):

If you're making simple changes such as replacing a header with one of your own, or if you're just changing the background color, overriding the CSS in the theme-variation's stylesheet is the way to go.

However, if you're creating a completely new layout, "starting from scratch" is recommended. Instead of starting off with a premade theme, select "(none)" from the themes drop-down menu and create your own stylesheet for your design.

This is recommended since your layout won't have 4 variations (unless you want to make variations, which is cool too) and it would be unnecessary extra work to create a theme stylesheet and a variation stylesheet which overrides the main theme stylesheet's colors. There is also a lot of extra CSS in the theme stylesheets that you wouldn't need since you're creating a layout for LJ, not Vox.

Here is an example of a theme stylesheet that you can use. It combines the theme stylesheet and the theme-variation stylesheets into one, and all the extra Vox stuff has been stripped out.


But there are so many names! What's what and what's where?

Here are the main IDs and classes in Expressive, in the order they're nested within each other.

Click to view full-size. (It's 1242x1289 and 88.88kb)




(Post a new comment)


[info]grrliz
2006-09-14 10:44 pm UTC (link)
Thank you so much for this, especially the graphic with the main IDs and classes.

(Reply to this)


[info]ibneko
2006-09-14 11:03 pm UTC (link)
Woah, awesomeness. You just made life much easier for me. Thank you. :) I was making something similar to the visual id/classes thing yesterday night for voxish by adding unique borders to classes.

(Reply to this)


[info]goodbyes
2006-09-14 11:55 pm UTC (link)
Oh this is exciting! I'd done minor modifications by looking at the page source, but this'll be much more helpful now that I can see all of the various classes. Thank you!

(Reply to this)


[info]lab_brat
2006-09-15 12:15 am UTC (link)
3 columns with entries on the left and 2 sidebars to the right

is it possible to change my layout to 3 columns with entries on the right and 2 sidebars to the left using a custom layer? I was thinking I might give it a try later, but if it's not doable or would involve far too many changes I'd rather know before I spent a few hours tearing my hair out trying it... ;p

(Reply to this) (Thread)


[info]chasethestars
2006-09-15 03:25 am UTC (link)
It's possible.
*directs you over to [info]s2expressive*

(Reply to this) (Parent)

Livejournal look and layout
[info]gemini_gabriel
2006-09-15 03:19 am UTC (link)
The look of my livejournal changed. I'm rather upset. I didn't select any changes to how my journal looks and where the buttons are etc. It feels very uncomfortable now. Any suggestions on how i can change it back? Because this doesn't feel like my livejournal, it feels like somebody invaded my space and tinkered with it.

(Reply to this) (Thread)

Re: Livejournal look and layout
[info]emmavescence
2006-09-15 12:13 pm UTC (link)
[info]news.

(Reply to this) (Parent)


[info]scribewraith
2006-09-28 02:22 pm UTC (link)
Wow, thank you so much for this guide, I was linked here by [info]jennifergearing and omg it has been so useful... I'm nearly done and it's thanks to your picture and guide!

ta, so very much!

(Reply to this)


[info]katastrofi4eski
2006-10-19 04:30 pm UTC (link)
What is Vox?
(I'm just doing a translation for ru_designelp, so have to find it out :))

(Reply to this) (Thread)


[info]rickybuchanan
2006-10-20 08:06 am UTC (link)
vox.com - like LJ but different, and the same company runs both.

r

(Reply to this) (Parent)(Thread)


[info]katastrofi4eski
2006-10-20 08:57 am UTC (link)
Thanks a lot!

(Reply to this) (Parent)


[info]jacyevans
2006-11-03 09:19 pm UTC (link)
You rock my world. I was thinking of attempting to re-do my layout with expressive, but took one look at the stylesheet and had absolutely no idea what I was doing. This helps SOOOOO much, so thank you.

(Reply to this)


[info]chungsparadise
2006-12-02 06:24 pm UTC (link)
Thanks! You're picture guide helped me create a new layout from scratch. [info]chunglayouttest is the first expressive layout I've ever done. Took three days and lot of paper, but thanks for the guide!!

(Reply to this)


[info]polkadotpie52
2007-01-25 06:00 pm UTC (link)
...

can I just have a header picture stylesheet to edit?


Im totally lost.

(Reply to this) (Thread)


[info]alaeidrel
2007-12-05 01:53 am UTC (link)
I'm with you on that- I can't for the life of me figure out how to change the pic.

(Reply to this) (Parent)


[info]lifesux23
2007-02-18 11:50 am UTC (link)
Thanks for the detailed explanation! I'm looking forward to making my own theme! =)

(Reply to this)


[info]inaudiblechaos
2007-06-07 04:27 pm UTC (link)
Is there anything else not named in expressive id and class names that sits to the right of #header and #content?

(Reply to this)

HI
[info]mysecretsmylove
2007-06-15 05:48 pm UTC (link)
i wanted to just change my back ground but dont know how to.
it seems boring with just gray.

(Reply to this) (Thread)

Re: HI
[info]in__conspicuous
2007-06-29 08:26 pm UTC (link)
Find this line:
background: url(body.gif) center top repeat-y #e9e9e9;

And change the hex value (the one in bold) to whatever colour you like, for example:
#000000 - black
#ffffff - white

(Reply to this) (Parent)


[info]baggyeyes
2008-07-05 12:11 am UTC (link)
Thank you very much for this.

(Reply to this)


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