Twenty Fourteen

  • Author
    Posts
  • #1631488

    kimochineina
    Member

    Hello guys, i need your help, i´m currently using the Twenty Fourteen theme, i already center the website using this code that i found on the forum

    /* No Sidebar */
    
    @media screen and (min-width: 783px) {
    
    .primary-navigation {
    float: right;
    margin-left: 20px;
    }
    }
    
    @media screen and (min-width: 1110px) {
    
    .archive-header,
    .comments-area,
    .image-navigation,
    .page-header,
    .page-content,
    .post-navigation,
    .site-content .entry-header,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content footer.entry-meta {
    padding-left: 55px;
    }
    
    }
    
    /*
    centering the page
    .site {
    margin: 0 auto;
    }
    */
    
    .site-content .entry-header,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content .entry-meta,
    .page-content {
    max-width: 874px;
    }
    .comments-area {
    max-width: 874px;
    }
    .post-navigation,
    .image-navigation {
    max-width: 874px;
    }
    
    .site:before,
    #secondary {
    width: 0;
    display: none;
    }
    .featured-content {
    padding-left: 0;
    }
    .featured-content-tp {
    padding-left: 0;
    }
    .site-content, .site-main .widecolumn {
    margin-left: 0;
    }
    .hentry {
    max-width: 900px;
    }
    .post-thumbnail img {
    width: 100%;
    }
    
    .site-title,
    .site-description {
    clip: rect(1px 1px 1px 1px); /* IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    }
    .site {
    max-width: 1135px;
    position: relative;
    margin: 0 auto;
    }
    
    .content-area, .content-sidebar {
    padding-top: 0;
    }

    now, when i scroll down, the menu is getting wear by try to fill all the screen from the center to the right, but, the left side works perfectly, please check out my website to know that i trying to tell you.

    #1631738

    Hi there, http://www.kimochineina.com is a WordPress site, but it is not hosted here at WordPress.com, it is a self-hosted site using the software from WordPress.org. My suggestion is to post your query in the WordPress.org Twenty Fourteen Theme forum.

The topic ‘Twenty Fourteen’ is closed to new replies.