WordPress.org

Ready to get started?Download WordPress

Forums

Can't align sidebar to the right (7 posts)

  1. -Julian-
    Member
    Posted 7 months ago #

    Hi guys,

    I'm working on the sidebar of my theme, but I can't align it to the right.
    This is my CSS:

    /*
    
    Theme Name: Elexode
    Theme URI: http://www.elexode.nl
    Author: Julian Quispel
    Author URI: http://www.twitter.com/julianquispel
    Description: The official Elexode theme for WordPress.
    Version: 1.0
    
    */
    
    /* Own content */
    
    body {
    	margin:0;
    	padding:0;
    	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
    }
    
    h1 {
    	font-size:72px;
    	margin:0;
    	padding:0;
    	font-weight:normal;
    }
    
    h3 {
    	font-size:24px;
    	padding:0;
    	margin:0;
    }
    
    #wrapper {
    	margin:10px 20px;
    	background-color:#FFF;
    	padding:0;
    }
    
    #header {
    	padding:0;
    	margin:0;
    }
    
    #logo {
    	padding:20px;
    }
    
    #logo h1 {
    	padding:0;
    	margin:0;
    	height:auto;
    }
    
    #logo h3 {
    	padding-left:5px;
    }
    
    #logo a {
    	text-decoration:none;
    	color:#000;
    }
    
    #logo a:hover {
    	color:#999;
    }
    
    #navmenu {
    	background:#000;
    	padding:0;;
    	color:#FFF;
    	overflow:hidden;
    	margin:0 20px;
    
    }
    
    #navmenu a {
    	display:block;
    	float:left;
    	color:white;
    	text-decoration:none;
    	padding:10px 10px;
    }
    
    #navmenu a:hover {
    	background-color:#999;
    }
    
    #navmenu ul {
    	padding:0;
    	margin:0;
    }
    
    #navmenu ul li {
    	list-style:none;
    	padding:0;
    	margin:0;
    }
    
    #navmenu li {
    	float:left;
    }
    
    #headerimg {
    	padding:0;
    	margin:10px 20px;
    }
    
    #content {
    	margin:0 0 10px 20px;
    	padding:0;
    	width:500px;
    }
    
    #content p {
    	font-size:12px;
    	padding:0;
    }
    
    #content a {
    	color:black;
    	text-decoration:none;
    }
    
    #content a:hover {
    	color:#999;
    }
    
    #sidebar {
    	padding:0;
    	color:black;
    	font-size:13px;
    	margin:0 10px;
    }

    My website is elexode.nl/wp

    I hope you could help me.

    Greetings,

    Julian

  2. sonai web
    Member
    Posted 7 months ago #

    hi,
    will u plz send url?

  3. -Julian-
    Member
    Posted 7 months ago #

    I did it's elexode.nl/wp or do you mean something else?

  4. -Julian-
    Member
    Posted 7 months ago #

    Someone who can help me?

  5. sonai web
    Member
    Posted 7 months ago #

    #wrapper {
    overflow: hidden;
    }

    #content {
    width: auto;
    }

  6. sonai web
    Member
    Posted 7 months ago #

    hi
    just add this..thts all

  7. -Julian-
    Member
    Posted 7 months ago #

    It's still not what I want. The sidebar is now under the content.

    What I want is that the sidebar is on the right of the website next to the latest posts (content)

    I can send you the whole theme in a zip?

Reply

You must log in to post.

About this Topic