- Example of left-aligned layout || Get codes for example layout
- You MUST have a website listed on your userinfo in order for this override to work!!!
- This is for the S1 Generator style only.
- This tutorial deals only with the main entries page. You will need a FRIENDS_WEBSITE, DAY_WEBSITE and CALENDAR_WEBSITE override to match your layout across all pages. (Read More)
- Remember to Keep your numbers even!
Sidebar layout with a header image:
Change these numbers to suit your needs.
GLOBAL_HEAD<=
<style type="text/css">
<!--
/* MOVE YOUR ENTRIES DOWN */
body {
overflow-x: hidden;
margin-top: 300px;
}
/* BACKGROUND IMAGE */
body {
background-color:#fff;
background-image: url(http://pics.livejournal.com/carriep
background-attachment:fixed;
background-repeat: repeat-y;
}
/* YOUR ENTRIES */
table, tr, td, .shadowed {
background: transparent;
}
table {width: 350px;
margin-left: 10px;
margin-right: 100%;
}
table table {
width: 100%;
margin:0;
}
table table table {
width: auto;
}
/* YOUR SIDEBAR */
#sidebar{
position:absolute;
top:330px;
left: 390px;
width: 175px;height: auto;
visibility: visible;
background:#99CA00;
color:#cc0000;
padding:5px;
border:1px solid #cc0000;
}
/* YOUR HEADER IMAGE */
#x {
background: url(http://pics.livejournal.com/carriep
position:absolute;top:0px;
left: 0px;
width: 600px;
height: 330px;visibility: visible;
}
#x img{
display:inline;
}
-->
</style>
<=GLOBAL_HEAD
LASTN_WEBSITE<=
<div id="sidebar">
The text, links, and pictures you want in your sidebar.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
<div id="x"> </div>
<!-- DON'T TOUCH -->
<div> </div>
<=LASTN_WEBSITE
Image map instead of headerRemove background image:
#x {
background: url(http://pics.livejournal.com/carriep
position:absolute;
top:0px;
left: 0px;
width: 600px;
height: 330px;
visibility: visible;
}
Add image here (LASTN_WEBSITE portion):
<div id="x"> </div> ...and map codes afterwards
Example
<div id="x">
<img src="http://www.yourimage.com" width="600px" height="330px" border="0" alt="" usemap="#image_map_name">
</div>
<map name="image_map_name">
<area shape="rect" alt="link name" coords="453,246,563,267" href="http://www.yourlink.com">
<area shape="rect" alt="link name" coords="314,246,428,267" href="http://www.yourlink.com">
<area shape="rect" alt="link name" coords="159,246,290,267" href="http://www.yourlink.com">
<area shape="rect" alt="link name" coords="32,246,140,268" href="http://www.yourlink.com">
</map>
Dont want a header image?Change this:
#x {
background: url(http://pics.livejournal.com/carriep
position:absolute;
top:0px;
left: 0px;
width: 600px;
height: 330px;
visibility: visible;
}
To this:
#x{
display:none;
}
Want a second sidebar?_HEAD CODES:
Copy the sidebar code and name it something different. Change the numbers to suit your needs.
#sidebartwo{
position:absolute;
top:330px;
left: 390px;
width: 175px;
height: auto;
visibility: visible;
background:#99CA00;
color:#cc0000;
padding:5px;
border:1px solid #cc0000;
}
_WEBSITE CODES:
Copy the sidebar code and give it the new name you chose in your _HEAD overrides.
<div id="sidebartwo">
The text, links, and pictures you want in your sidebar.
</div>
December 29 2005, 23:22:00 UTC 6 years ago
The newer one completely changed my entire layout, and even though the segments were colourcoded, it was hard for someone like me (who is not gifted with overriding talent) to pick it apart.
Thanks for leaving this one up!
I have found a lot of valuable info in both and will soon be implementing the changes!
:)
AT
December 31 2005, 00:38:59 UTC 6 years ago
6 years ago
6 years ago
January 2 2006, 15:40:18 UTC 6 years ago
so you got 2 bars near eachother with the same lenght?
January 4 2006, 11:15:50 UTC 6 years ago
When I tried this sidebar tutorial (the lower one, "without a header"), it did make a sidebar that started slightly lower on the page than my main text column.
If that's what you mean, try fiddling with the yellow numbers in the code. That will move the start of the sidebar closer to or farther from the top of the screen.
Hope that helps!
:)
AT
6 years ago
Anonymous
6 years ago
6 years ago
January 6 2006, 13:20:10 UTC 6 years ago
January 8 2006, 19:06:46 UTC 6 years ago
January 11 2006, 18:10:30 UTC 6 years ago
Thank you for posting them =)!
January 13 2006, 02:30:23 UTC 6 years ago
February 20 2006, 06:49:52 UTC 6 years ago
February 28 2006, 14:51:57 UTC 6 years ago
March 8 2006, 23:22:31 UTC 6 years ago
March 22 2006, 01:27:43 UTC 6 years ago
Or if you are even willing to help me
out on this, but your journal has been
helpful in the past. So I figured I would
give it a shot.
I wanted to know if you knew how, or had
any helpful links that could teach me how
to not only create a sidebar layout but
a sidebar layout with a scroll box?
Well, techniqually two scroll boxes
One working as a side bar would. If
I am making any sense at all.
In all honesty I dont know if it
would even be in the same family
as a side bar. I am making a communtiy
to help out a local band, and it would
be helpful for links and what not.
I wanted to use a picture that would
look better with scroll boxes than it
would for the page to actually move.
If you cant help I understand, and thank
you for your time anyway.
July 7 2006, 22:51:41 UTC 5 years ago
July 10 2006, 23:34:35 UTC 5 years ago
July 25 2006, 06:02:37 UTC 5 years ago
They were both made as a basic account, without the Sponsored+ status, and there really isn't anything differentiating them except for the names and who made them. I, incidentally, made the community that it works on, and my co-mod made the main community; but I doubt that's the problem. If you happen to know what might be the problem, I'd be eternally grateful for your help~! And if you want to look over the code I'm using, I don't have a problem uploading it to YSI or something~! Thank you very much in advance~! ♥♥ *bows*
July 25 2006, 14:50:52 UTC 5 years ago
5 years ago
August 13 2006, 01:47:20 UTC 5 years ago
August 13 2006, 04:10:18 UTC 5 years ago
September 18 2006, 22:32:47 UTC 5 years ago
September 18 2006, 23:36:05 UTC 5 years ago
5 years ago
5 years ago
September 26 2006, 14:24:39 UTC 5 years ago
September 26 2006, 15:40:35 UTC 5 years ago
5 years ago
5 years ago
5 years ago
Anonymous
October 12 2006, 06:28:26 UTC 5 years ago
November 1 2006, 18:14:46 UTC 5 years ago
Ads
I have no idea why the advertisements do not want to disappear. *sob*I'm lost. What did I do wrong?
November 1 2006, 18:16:02 UTC 5 years ago
Re: Ads
This tutorial has nothing to do with ads in any way, shape, or form. If you do not want ads on your journal, you must choose a basic account type, not a sponsored account.April 2 2007, 23:07:04 UTC 5 years ago
Code still works
Thanks! This isn't the only post of yours I've used, and they've all been a big help.