treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Problem with wordpress theme created by me

  • im tryng to create a wordpress theme,but i found a very complicated problem, when i write a new post ,this post appears on the blog without the format that i did on control panel

    the problem is :

    the post dont save the configurations linke: image=align. text=justify on the blog , when is published

    Please save , i dont know what to do.
  • The issue might be that your theme's css style certainly have rules that overides the settings made in the control panel. It's hard to determine the exact source of the problem with seeing the actual web page or post.
    Please provide the URL so we can take a look at your HTML markup and the CSS styles.
  • body{

    background-color:#421e0e;
    width:100%;
    margin:auto 0px;
    }
    #wrap {
    width:100%;

    background:url(images/images/thin-back_01.jpg);
    background-repeat:repeat-x;
    clear:both;


    }
    #header {
    background-image:url(images/images/images/notes_01.jpg);
    background-repeat:no-repeat;
    text-align:left;
    height:120px;
    margin-top:-40px;
    color:#FFF;

    }
    input{


    }
    .post_snippet {

    margin:20px 0px 0px 160px;;
    padding:20px;
    width:500px;

    background:url(images/images/images/images/post_02.jpg);
    background-repeat:repeat-x;
    background-color:#FFF;
    border:#FFF 2px solid;

    }
    .post_snippet a {


    }
    .clear {
    clear:both;
    }
    #nav {
    margin-bottom:50px;
    list-style-type:none;
    font-size:16px;
    text-transform: uppercase;
    }
    #nav li {
    float:left;
    margin:0px 80px;
    }
    #sidebar {
    float:right;
    margin-top:30px;
    background-color:#431d0d;
    border:solid 1px #825643;
    margin-right:90px;
    color:#FFF;

    }
    #sidebar li{
    list-style:none;



    }
    .single_post {
    width:600px;
    }
    .promote {
    border:2px solid #ccc;
    -moz-border-radius: 10px 10px 10px 10px;
    padding:8px;
    background-color:#096;
    }
    #comments_section li {
    margin:10px 0px;
    padding:8px;
    border:2px solid #ccc;
    font-style:normal;
    background-color:#0F0;
    }
    .single_post{

    background:url(images/images/images/images/post_02.jpg);
    background-repeat:repeat-x;
    background-color:#FFF;
    margin-left:90px;
    padding:15px;
    width:750px;
    margin-top:30px;
    }
    #footer{
    margin-top:110px;
    background-color:#2b1307;
    border-top:solid 1px #fa8b5e;
    height:250px;
    width:1250px;
    margin-left:90px;
    color:#CCC;
    padding-left:20px;
    }
  • Your CSS file has an error in it, the "body {" isn't being closed with a "}". Try fixing that first. Also, please post a link to the site in question, we're only guessing if you don't do that.
  • "TheDoc" said:
    Your CSS file has an error in it, the "body {" isn't being closed with a "}". Try fixing that first. Also, please post a link to the site in question, we're only guessing if you don't do that.



    Ok, the site is

    http://www.cursosloganlol.site40.net