(Work in progress) Box Madness

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
ormus7577
Regular
Posts: 122
Joined: Sat Nov 04, 2006 12:11 pm
Location: Ulm, Germany

(Work in progress) Box Madness

Post by ormus7577 »

Hi...

I'm working on a new theme called 'Box Madness'. Surprisingly it uses loads of boxes ;)

I hope it's ok to open a new thread, because I pretty sure will end up with some questions. I got basic understanding of css, i'm more of a coder.. So here's the first one:

Is it possible to style the sidebar entries (especially the titles) different for both sidebars?

A very (read VERY) early version can be seen at my old blog (which is my test installation nowadays) http://blog.loben.net/
my installations:
family blog: http://familie.lobenstein.info/
personal blog: http://www.ormus.info/
OrmusTool Homepage: http://tool.ormus.info/
Online Adventskalender: http://www.ormus.info/pages/advent.html
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Yes, certainly. Check out your index.tpl to see how it's done (if your template doesn't have one, it defaults to the one in the templates/default/ directory).

By default, the left sidebar is in a container with id "serendipityLeftSideBar", and the right is in a container with id "serendipityRightSideBar".
Judebert
---
Website | Wishlist | PayPal
ormus7577
Regular
Posts: 122
Joined: Sat Nov 04, 2006 12:11 pm
Location: Ulm, Germany

Post by ormus7577 »

I guess I misphrased that one...

I've noticed the serendipityRightSideBar/LeftSideBar IDs. Is there a way to style the serendipitySideBarTitle different for both bars? This is probably more of a css than a s9y question... Basically I wonder if I can adress nested IDs in css.

*edit* Ah, I figured it out. Missed the fact, that those titles are class (obviously, as they appear multiple times in a document)
my installations:
family blog: http://familie.lobenstein.info/
personal blog: http://www.ormus.info/
OrmusTool Homepage: http://tool.ormus.info/
Online Adventskalender: http://www.ormus.info/pages/advent.html
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

something like

Code: Select all

.serendipityLeftSideBar .serendipitySideBarTitle {...}
.serendipityRightSideBar .serendipitySideBarTitle {...}
should work, I think.
Ciao, Stephan
Post Reply