- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
So I get this problem that the navigation panel doen't behave correctly. It's fine when using standard page, but every time when I make a new blog post, the page list in the navigation panel moves downward a bit, and after I post 7 articles or so the list is completely gone. The same thing happens for mobile & tablet view. The code below is what I have and I delete some parts that I think may not be helpful (I hope so). I didn't tweak the code except adding an external font. I created the website couple years ago, but I didn't start using it until recently. I just found a very similar template called "Jay Sims", but if I copy and paste the naviagtion part of the code directly to mine (of course after delete the original), the close sign (a cross mark) disappers from the navigation panel. I don't know much about coding and have no idea what's going on. I will be very thankful if anybody can help me out.
/* General Structure ------------------------------------------------------------------------------------------------------*/ html { height: 100%; } body { background: #fff; width: 100%; height: 100%; margin: 0 !important; padding: 0 !important; } #wrapper { width: 100%; } .postload #wrapper { height: 100%; } body.w-navpane-is-open #wrapper { height: 100%; overflow: hidden; } #panel-one, #panel-two { width: 50%; overflow: hidden; } #panel-one { position: fixed; left: 0; top: 0; height: 100%; } body.w-navpane-is-open #wrapper #panel-one { position: absolute; } #panel-two { position: relative; left: 0; margin-left: 50%; z-index: 1; } .postload #panel-two { height: 100%; overflow-y: auto; } .container, .wsite-footer { padding: 40px 80px; } #banner .container { padding-bottom: 0; } #footer { position: relative; } .wsite-footer { padding-top: 0 !important; } .wsite-footer:before { content: ''; display: block; width: 100%; height: 1px; margin: 0 auto 60px; background: #d8d8d8; } .scrolltop { display: none; position: absolute; top: 0; padding: 8px 5px; background: #d8d8d8; color: #fff; font-size: 12px; font-family: 'Montserrat'; font-weight: 500; line-height: 8px; } /* Panel One ------------------------------------------------------------------------------------------------------*/ .wsite-background, .shade { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .wsite-background { z-index: 0; background: url(images/bg-gray.jpg) center center no-repeat; background-size: cover; } .shade { position: absolute; z-index: 1; background: rgba(0,0,0,0.15); background: -moz-linear-gradient(top, rgba(0,0,0,0.15) 0%, rgba(255,255,255,0) 100%); background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0.15)), color-stop(100%, rgba(255,255,255,0))); background: -webkit-linear-gradient(top, rgba(0,0,0,0.15) 0%, rgba(255,255,255,0) 100%); background: -o-linear-gradient(top, rgba(0,0,0,0.15) 0%, rgba(255,255,255,0) 100%); background: -ms-linear-gradient(top, rgba(0,0,0,0.15) 0%, rgba(255,255,255,0) 100%); background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(255,255,255,0) 100%); filter: progidXImageTransform.Microsoft.gradient( startColorstr="#000000", endColorstr="#ffffff", GradientType=0 ); } #nav-button, #logo { position: absolute; } #nav-button { top: 40px; left: 40px; z-index: 3; } #logo { top: 40px; left: 0; padding: 0 40px; text-align: center; box-sizing: border-box; z-index: 1; } body.w-navpane-is-forced #logo { padding: 0 90px; } #wsite-title { color: #fff; font-family: 'Montserrat'; font-size: 1.6em; line-height: 1.25; font-weight: 900; text-transform: uppercase; letter-spacing: -0.035em; } #logo img { max-width: 100%; } .wsite-nav-cart { position: absolute !important; display: block !important; top: 40px; right: 40px; list-style: none; z-index: 2; } #wsite-nav-cart-a { display: block; font-size: 0 !important; } #wsite-nav-cart-num { display: block; box-sizing: border-box; width: 26px; height:27px; padding: 9px 4px 0; color: #fff; background: url(images/cart.png) no-repeat center center /contain; font-family: 'Montserrat'; font-size: 14px; line-height: 1; font-weight: 500; text-align: center; } #wsite-mini-cart { border: none !important; width: 300px !important; box-shadow: none !important; margin-left: -27px; } @media (min-width: 1025px) { #wsite-mini-cart:after { left: 89% !important; } } #wsite-mini-cart.arrow-top:before { border-bottom-color: transparent !important; } #wsite-mini-cart .wsite-product-list .wsite-list-image-container { margin: 5px; } #wsite-mini-cart .wsite-items-right { padding-right: 0; } #wsite-mini-cart .wsite-name-header { font-weight: bold; } .wsite-product-list .wsite-vertical-align { padding: 6px !important; } .wsite-cart-bottom { padding: 0 10px 10px !important; } #wsite-mini-cart .wsite-remove-button { margin-right: 3px !important; } #wsite-mini-cart * { border: none !important; } /* Navigation ------------------------------------------------------------------------------------------------------*/ body.w-navpane-is-forced #wsite-menus { display: none !important; } .nav li { list-style: none; } .nav li a, #wsite-menus .wsite-menu li a { color: #999999; display: block; padding: 10px 20px; font-family: 'Montserrat'; font-size: 1.15em; font-weight: 500; text-transform: uppercase; } #wsite-menus, #wsite-menus .wsite-menu-wrap { font-size: inherit; } .nav #active a, .nav a:hover { color: #fff; } .nav { position: absolute; top: 0; left: 0; height: 100%; padding: 80px 40px; box-sizing: border-box; border: none; text-align: center; overflow: hidden; } .w-navpane { width: 50%; background: #222222; opacity: 0; z-index: -1; -webkit-transition: opacity .35s ease-in-out, z-index .1s .35s ease-in-out; -moz-transition: opacity .35s ease-in-out,z-index .1s .35s ease-in-out; -o-transition: opacity .35s ease-in-out, z-index .1s .35s ease-in-out; -ms-transition: opacity .35s ease-in-out, z-index .1s .35s ease-in-out; transition: opacity .35s ease-in-out, z-index .1s .35s ease-in-out; } .w-navlist { top: auto; bottom: 0; left: 0; width: 100%; height: auto; padding: 0 20px; background: rgba(0, 0, 0, .4); z-index: 1; } .w-navlist .menu-wrapper { display: block; width: 100%; margin: 0 auto; text-align: left; font-size: 0; } .nav.w-navlist li { display: inline-block; } .nav.w-navlist li a, #wsite-menus .wsite-menu li a { color: #fff; font-size: 15px; padding: 20px 10px; } #wsite-menus .wsite-menu li a { color: #fff; background: rgba(0, 0, 0, .4); padding: 15px 10px; border: none; } #wsite-menus .wsite-menu li a:hover { background: rgba(0, 0, 0, .85); } #wsite-menus span.wsite-menu-title { padding: 0; } .nav.w-navlist #active a { font-weight: bold; } #nav-button { width: 30px; height: 27px; box-sizing: border-box; } #nav-button:before { content: ''; position: relative; display: block; width: 30px; height: 27px; background: transparent url(images/close.png) no-repeat center center /contain; opacity: 0; -webkit-transition: all 200ms linear; -moz-transition: all 200ms linear; -o-transition: all 200ms linear; -ms-transition: all 200ms linear; transition: all 200ms linear; } #nav-button span { position: absolute; top: 0; left: 0; display: block; width: 30px; height: 27px; background: transparent url(images/hamburger.png) no-repeat center center /contain; background-size: 100% 100% !important; opacity: 1; -webkit-transition: all 200ms linear; -moz-transition: all 200ms linear; -o-transition: all 200ms linear; -ms-transition: all 200ms linear; transition: all 200ms linear; } .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #000; opacity: 0; z-index: -1; -webkit-transition: opacity .35s ease-in-out, z-index .1s .35s ease-in-out; -moz-transition: opacity .35s ease-in-out,z-index .1s .35s ease-in-out; -o-transition: opacity .35s ease-in-out, z-index .1s .35s ease-in-out; -ms-transition: opacity .35s ease-in-out, z-index .1s .35s ease-in-out; transition: opacity .35s ease-in-out, z-index .1s .35s ease-in-out; } /* Nav open */ body.w-navpane-is-open #nav { opacity: 1; z-index: 2; -webkit-transition: opacity .35s ease-in-out; -moz-transition: opacity .35s ease-in-out; -o-transition: opacity .35s ease-in-out; -ms-transition: opacity .35s ease-in-out; transition: opacity .35s ease-in-out; } body.w-navpane-is-open #wrapper #nav-button:before { opacity: 1; } body.w-navpane-is-open #wrapper #nav-button span { opacity: 0; } body.w-navpane-is-open #wrapper { height: 100%; } body.w-navpane-is-open #wrapper .overlay { opacity: .70; z-index: 1; -webkit-transition: opacity .35s ease-in-out; -moz-transition: opacity .35s ease-in-out; -o-transition: opacity .35s ease-in-out; -ms-transition: opacity .35s ease-in-out; transition: opacity .35s ease-in-out; } /* Live Display */ .wsite-mobile-menu { height: 100%; overflow-x: hidden; -webkit-transition: all .15s ease-in-out; -moz-transition: all .15s ease-in-out; -o-transition: all .15s ease-in-out; -ms-transition: all .15s ease-in-out; transition: all .15s ease-in-out; } .wsite-menu-slide { display: table; } .wsite-menu-slide > ul { display: table-cell; width: 100%; vertical-align: middle; } .wsite-menu-back-item a { font-weight: bold !important; color: #fff !important; } .wsite-menu-arrow { font-size: 0; margin-left: 10px; } .wsite-menu-arrow { display: none; } .wsite-menu-mobile-arrow { display: inline-block !important; font-size: inherit !important; padding: 0 5px; } .wsite-menu-mobile-arrow:before, .wsite-menu-arrow:before { display: inline-block; content: '\203A'; vertical-align: bottom; font-size: 1.15em; } .wsite-menu-arrow:before { font-size: 16px; } .wsite-menu-back-item .wsite-menu-mobile-arrow:before { content: '\2039' !important; } /* Blog ------------------------------------------------------------------------------------------------------*/ #blogTable > tbody > tr > td { display: block !important; width: 100% !important; margin: 0 auto; padding: 0 !important; } .blog-body { float: none !important; } .blog-sidebar .column-blog { width: 100%; float: none; padding-top: 2em; } .blog-sidebar-separator { padding: 0; } .blog-feed-link img { display: none; } .column-blog { width: 150px; } .blog-title a { display: block; color: inherit; font-size: 1.5em; padding-top: .75em; } .blog-header .blog-comments, .blog-separator { display: none; } .blog-title { position: relative; } .blog-date { position: absolute; top: 0; left: 0; color: #999999; font-size: .9em !important; font-weight: 700; } .blog-comments-bottom { font-size: .9em !important; font-weight: 700; } .blog-comment-area br { display: none; } .blogCommentReplyWrapper iframe { height: 450px !important; } .blog-content .paragraph:last-of-type { margin-bottom: 0; } .field-notify input { -webkit-appearance: checkbox !important; -moz-appearance: checkbox !important; appearance: checkbox !important; } #commentNotify + span { display: inline-block; margin-right: 10px; } /* Mobile & Tablet Displays ------------------------------------------------------------------------------------------------------*/ @media (max-width: 1024px) { /* General ---------------------------------------*/ #wrapper { position: relative; left: 0; -webkit-transition: left 300ms cubic-bezier(0, 0.085, 0.68, 0.53); -moz-transition: left 300ms cubic-bezier(0, 0.085, 0.68, 0.53); -o-transition: left 300ms cubic-bezier(0, 0.085, 0.68, 0.53); -ms-transition: left 300ms cubic-bezier(0, 0.085, 0.68, 0.53); transition: left 300ms cubic-bezier(0, 0.085, 0.68, 0.53); } #panel-one, #panel-two { position: relative; width: 100%; } #panel-one { height: 400px; } #panel-two { margin-left: 0; } .postload #panel-two { height: auto; } .splash-page #panel-one, .splash-page #panel-two { height: 50%; } .container, .wsite-footer { padding: 40px 60px; } #wsite-title { line-height: 1.5; } .scrolltop { display: block; } /* Navigation ---------------------------------------*/ .nav { width: 100% !important; } body.w-navpane-is-open #wrapper #panel-one { position: relative; } .w-navlist { display: none; } .w-navpane-trigger { display: block; } #wsite-mini-cart { width: 135px !important; margin-left: 2px; background: none !important; border: 2px solid #fff !important; border-radius: 0 !important; } #wsite-com-minicart-checkout-button { display: block; text-align: center; padding: 15px !important; background: none !important; box-sizing: border-box; } #wsite-mini-cart .wsite-subtotal-wrapper { display: block; width: auto !important; margin: 5px 5px -20px; color: #fff; text-align: center; font-family: "Montserrat"; font-size: 12px; font-weight: 500; text-transform: uppercase; } #wsite-mini-cart .wsite-button-wrapper { display: block !important; } .wsite-product-list { display: none !important; } .wsite-cart-bottom { padding: 0 !important; } #wsite-mini-cart .wsite-button-inner { float: none !important; } } /* Mobile Displays ------------------------------------------------------------------------------------------------------*/ @media (max-width: 767px) { /* General Structure ---------------------------------------*/ .wsite-multicol-col { display: block !important; width: auto !important; max-width: 100% !important; margin: 0 auto 1em !important; } #panel-one { height: 220px; } .container, .wsite-footer { padding: 30px 20px; } .wsite-footer:before { margin: 0 auto 50px; } /* Nav ---------------------------------------*/ .nav { padding: 60px 20px !important; } #nav-button { left: 20px; top: 20px; } #logo { top: 20px; padding: 0 70px; } .wsite-nav-cart { top: 20px; right: 20px; }
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Never mind. I just switch to the new template. Thank you for your reply!
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Webpage url??
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Never mind. I just switch to the new template. Thank you for your reply!