SOLVED: Entry/sidebar border color change, moving of nav-links & highlighting subject lines

Jul 02, 2011 04:54

 Hi, I'm a total newbie to the CSS, but thanks to this comm I managed to customize almost everything I wanted...however there are 4 things I couldn't find anything about (searched the tags through).

1. If it's possible I want to change the color of the border-line between entries and the sidebar to #151B8D Solved!

2. I would like to move the nav- ( Read more... )

entries:header, sidebar:borders, header:nav links

Leave a comment

av8rmike July 6 2011, 13:05:34 UTC
1. It looks like you've already done this ...?

2. You can't do this with just CSS; you need a theme layer.

3. Have you tried adding to .asset-name {} something like background-color: xxxxxx; ?

4. You could do this:
#content { margin-top: 5px; }

Reply

denig37 July 6 2011, 13:31:18 UTC
Oh, thank you :-)

1. nope, it's still purple

2. oh, OK

3. could it be a bit wider and loger than the subject text so the text won't start where the highlighting starts and it's wider (and gets wider when the text is more than one row)

4. THANK YOU! :_D

Reply

av8rmike July 7 2011, 13:00:27 UTC
For 1), a lot of these Expressive themes use a fixed width image for the border, which is why you can't change the color. This should do it:

.layout-wt #content-inner { background-image: none; }
#alpha { border-right: 1px solid #151B8D; }
#beta { width: 189px; }

3. You can't start the background any further to the left, but you could indent the text with some left padding in .asset-name. It should stretch if the subject text is more than one row.

Reply

denig37 July 7 2011, 13:21:33 UTC
1. Oh thank you thank you thank you *hugs* It's blue! :-D

3. THAT! Yeah...could you help me with that please? (no idea how to do that) and maybe something like moving the text a fex pixels from the bottom of the subject line if there's a way? (so under the white text is still a little bit blue)

Reply

av8rmike July 7 2011, 16:12:25 UTC
Sure! Find the .asset-name{} section and add this line:
padding: 0 0 5px 20px;

You'll probably want to tweak the numbers a bit. The third number changes the amount of space below the text and the fourth is the space to the left of the text.

Reply

denig37 July 7 2011, 16:45:36 UTC
THANK YOU!...I could seriously kiss you right now :-D

BTW I put #content { margin-top: 5px; } as you said in the CSS box to move the first entry on the page closer to the header, but it doesn't really show...Did I leave something out that could cause it?

Reply

av8rmike July 7 2011, 16:52:49 UTC
Aww, thanks! =D
The content top margin is definitely working, so you haven't done anything wrong. How much closer do you want the entry to the header?

Reply

denig37 July 7 2011, 16:57:40 UTC
:-D
I think about 15px

Reply

av8rmike July 8 2011, 14:54:17 UTC
Sorry, I forgot all about this last night! Add this line:
.stream-header { margin: 10px 0 0; }

Reply

denig37 July 8 2011, 15:47:08 UTC
YAY! Thank you :-D

Reply

digitic March 16 2012, 19:40:00 UTC
Hey, me again :D

I used this in my CSS and it mostly worked, but my f-page shows the first entry a bit lower than on my "Recent" page. Is there a way to make the f-page first entry the same distance from header as on my Recent page?

And for the sidebar thing, would it help anything if I made a 1px wide white line PNG/JPG/GIF/... (no clue about height) and uploaded it somewhere?

Reply

digitic March 6 2012, 19:09:50 UTC
Hey, I used this and it worked except that the line (white in my case) doesn't run to the end of the whole page, only to the bottom of the entry :-(

Is it possible to make it go all the way down?

Reply

av8rmike March 12 2012, 20:34:06 UTC
Hey, sorry for taking a while to get back to you. Looks like you'd have to get rid of all that margin at the bottom of #page and #content to close up the blank space.

Reply

digitic March 12 2012, 20:51:13 UTC
But wouldn't that move my entries too?

This is ALL the CSS I have in right now:

#header-inner ( ... )

Reply

av8rmike March 13 2012, 18:05:43 UTC
The #alpha DIV doesn't extend to the bottom of the page, which is why the border doesn't, either. You might be able to hack together a background image that would put a border in the right place but it would have to be a fixed width.

Reply

digitic March 13 2012, 18:08:33 UTC
That sounds awfully complicated :(

Thanks anyway.

Reply


Leave a comment

Up