Twenty Fourteen center menu

  • Unknown's avatar

    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.

  • Unknown's avatar

    You need to post into the CSS Forum to get CSS editing help.
    https://en.forums.wordpress.com/forum/css-customization#postform

  • Unknown's avatar

    That is of course assuming you are actually referring to a blog being hosted by WordPress.COM.

    WordPress.COM and WordPress.ORG are completely separate, have different log-ins and run different versions of themes with same names. http://support.wordpress.com/com-vs-org/

    We provide support only for free hosted WordPress.COM blogs and not for WordPress.org software installs. If you don’t have a username account at WordPress.ORG click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the support forums there and receive advice from WordPress.ORG bloggers.

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