Fix this css code please
-
@media (min-width: 769px) { #right-sidebar { position: -webkit-sticky; position: sticky; top: 0; } } @media (max-width: 768px) { .sidebar { display: none; } }/* GeneratePress Site CSS */ /* grey line under navigation */ .site-header { border-bottom: 1px solid rgba(0,0,0,0.1); } /* navigation subscribe underline */ .main-navigation:not(.slideout-navigation) .main-nav li.subscribe-button a { box-shadow: 0px -8px 0px #e0314f inset; transition: all 0.6s ease 0s; padding: 0px; margin: 0px 20px } .main-navigation:not(.slideout-navigation) .main-nav li.subscribe-button a:hover { box-shadow: 0px -16px 0px #e0314f inset; } /* wpsp meta spacing */ .wp-show-posts-entry-meta { margin-top: 10px; } /* wpsp column spacing */ .wp-show-posts-columns .wp-show-posts-inner { margin: 0px 0px 40px 60px; } @media (min-width:1030px) { .footer-widgets .footer-widget-1 { flex-basis: 50%; padding-right: 100px; } .footer-widgets .footer-widget-2 { flex-basis: 20%; } .footer-widgets .footer-widget-3 { flex-basis: 30%; } } .mobile-header-navigation { padding: 10px; } /* End GeneratePress Site CSS */
Primary navigation is shown as sidebar sticky nav on blog pages and entire site except homepage. Can someone amend this code for me?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fix this css code please’ is closed to new replies.