- This topic is empty.
-
AuthorPosts
-
July 8, 2010 at 5:47 pm #29575betzyParticipant
hello guys, i`ve found e perfect wordpress theme for me but i want to do some changes and i don`t know how, first i want to align the theme to the left of my browser and then to try the tutorial i`ve found here about static sidebar so … can anybody tell me how to align the theme to the left ??/ btw the theme is this one http://www.morewordpress.com/themes/no- … omment-353
July 8, 2010 at 6:05 pm #79405zubakMemberin your style.css find this
Code:.Sheet {
margin:0 auto;
min-height:41px;
min-width:41px;
overflow:hidden;
position:relative;
width:800px;
z-index:0;
}and replace it with this
Code:.Sheet {
min-height:41px;
min-width:41px;
overflow:hidden;
position:relative;
width:800px;
z-index:0;
}July 8, 2010 at 6:34 pm #79407betzyParticipantit took me a while to get it …. find what ?? .. :)))) but now everything it`s ok …. 10q 10q 10q :ugeek:
PS. 10x for the quick reply
July 8, 2010 at 6:52 pm #79410betzyParticipantok any sugestions for the no scroll side bar without the jQuery only with css
July 9, 2010 at 6:29 am #79450vijaywebmakerMemberNo Need of giving padding and margin, just delete the margin code from the css. The margin:0 auto; css if used for align the wrapper width in the center, So Please delete the css code and try out the new css that i have given below as After. I hope this will help for you ;)
Before :
Sheet {
margin:0 auto;
min-height:41px;
min-width:41px;
overflow:hidden;
position:relative;
width:800px;
z-index:0;
}After :
Sheet {
min-height:41px;
min-width:41px;
overflow:hidden;
position:relative;
width:800px;
z-index:0;
}July 9, 2010 at 7:35 am #79428zubakMemberuse tihs for your static sidebar thing
Code:position: fixed;make your dvi align it to whatever site you want and add to your css position: fixed;
July 10, 2010 at 5:42 am #79471betzyParticipantok, everithing is align to the left .. cool but when i did this :
beforeCode:.contentLayout .sidebar1
{
position: relative;
margin:0;
padding:0;
border:0;
float: left;
overflow: hidden;
width: 20%;
}after
Code:.contentLayout .sidebar1
{
position: fixed;
margin:0;
padding:0;
border:0;
float: left;
overflow: hidden;
width: 20%;
}the sidebar disappered :((((
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.