Layout Coding Question
Sep. 25th, 2009 06:20 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
This is probably really simple to do, but I'm really stupid about things like this.
I want to center the header menu (Previous Entries, Friends Page, etc) on the page. How do I do that? I've tried looking through the layout comm, but the one thing I found to try didn't work. It just duplicated the links "image."
I'm guessing there's a little piece of code I need to stick into my layout layer. But where? And what? A snapshot of my layer code is behind the cut. If any of you oh so lovely smart friends of mine could help, that would be awesome. Thank you!

I want to center the header menu (Previous Entries, Friends Page, etc) on the page. How do I do that? I've tried looking through the layout comm, but the one thing I found to try didn't work. It just duplicated the links "image."
I'm guessing there's a little piece of code I need to stick into my layout layer. But where? And what? A snapshot of my layer code is behind the cut. If any of you oh so lovely smart friends of mine could help, that would be awesome. Thank you!
(no subject)
Date: 2009-09-25 11:54 pm (UTC)(no subject)
Date: 2009-09-25 11:56 pm (UTC)(no subject)
Date: 2009-09-26 01:23 am (UTC)Firstly you need to find the CSS for your page. If you go into your main journal page, and right-click, and go "view page source" a window should come up full of code. Copy that whole content and then go into the customise journal options and open the Custom CSS section, then paste all that code in there.
Next I think you need to find the line that contains <*div class="header-subtitle"*> (without the * - I had to add them so the code would show up in this comment) which is right after your header image link and journal subtitle bits, and right after that enter <*center*> (again, minus the *) with no spacing. The very next bit of text is Always look on the bright side etc. So the whole thing should then look like:
<*div class="header-subtitle">
Firstly you need to find the CSS for your page. If you go into your main journal page, and right-click, and go "view page source" a window should come up full of code. Copy that whole content and then go into the customise journal options and open the Custom CSS section, then paste all that code in there.
Next I think you need to find the line that contains <*div class="header-subtitle"*> (without the * - I had to add them so the code would show up in this comment) which is right after your header image link and journal subtitle bits, and right after that enter <*center*> (again, minus the *) with no spacing. The very next bit of text is Always look on the bright side etc. So the whole thing should then look like:
<*div class="header-subtitle"><center*>Always look on the ...
Hopefully that should work to center your menu and not screw anything else up! If it doesn't just clear out the whole CCS code and your journal should go back to what it is now.
(no subject)
Date: 2009-09-26 02:11 am (UTC)(no subject)
Date: 2009-09-26 05:04 am (UTC)(no subject)
Date: 2009-09-26 04:50 pm (UTC)(no subject)
Date: 2009-09-26 07:53 pm (UTC)(no subject)
Date: 2009-09-26 11:14 pm (UTC)Oh, well. Guess I'll just have to make do with it as it is.
(no subject)
Date: 2009-09-27 12:38 am (UTC)(no subject)
Date: 2009-09-27 12:58 am (UTC)(no subject)
Date: 2009-09-27 01:31 am (UTC)I've just done what I suggested to you and pasted it into a CSS tester and it came out perfect, so I'm bamboozled.
The only thing I can suggest is perhaps searching up a customised LJ layout that provides you with the base CSS and then using that to customise from, because that way you know you're changing something that started off correct. I have no idea whether my method of retrieving your CSS for your current style is correct.
I recently adapted a theme by
(no subject)
Date: 2009-09-27 01:37 am (UTC)(no subject)
Date: 2009-09-26 05:57 am (UTC)