File Editor
Directories:
.. (Back)
images
includes
js
languages
sample
skins
themify
uploads
Files:
404.php
changelog.txt
comments.php
customizer-basic-config.php
customizer-config.php
footer.php
functions.php
header.php
index.php
license.txt
media-queries.css
page.php
search.php
searchform.php
sidebar.php
single-portfolio.php
single.php
style.css
taxonomy-portfolio-category.php
taxonomy.php
theme-class.php
theme-config.php
theme-functions.php
theme-modules.php
theme-options.php
Create New File
Create
Edit File: media-queries.css
@media screen and (max-width: 980px) { /************************************************************************************ STRUCTURE *************************************************************************************/ #pagewrap { max-width: 100%; } .pagewidth, .sidebar-none .loops-wrapper.list-post .post-inner, .full_width .themify_builder_row .row_inner, .single .post-inner { max-width: 94%; } /* content */ #content { padding: 7% 0 5%; width: 67.8%; } /* sidebar */ #sidebar { padding: 7% 0 5%; width: 26.2%; } #sidebar .secondary { width: 47.4%; } } @media screen and (max-width: 760px) { /************************************************************************************ STRUCTURE *************************************************************************************/ #content { width: 100%; max-width: 100%; float: none; clear: both; } /* sidebar */ #sidebar { width: 100%; max-width: 100%; float: none; clear: both; } /************************************************************************************ HEADER *************************************************************************************/ /* reset absolute elements to static */ #header .social-widget, #headerwrap #site-logo, #headerwrap #site-description { position: static; float: none; clear: both; } /* header widget */ .header-widget { position: static !important; float: none; text-align: left; clear: both; margin: 0; } .header-widget .widget { margin: 0 0 10px; } /* social widget */ #header .social-widget { padding: 5px 0 0; } /************************************************************************************ MOBILE NAV BUTTON *************************************************************************************/ .mobile-button { font: normal 1em/1em 'Old Standard TT', serif; position: relative; margin: 20px auto 0; display: block; cursor: pointer; padding: 0; } .mobile-button span { font: normal .93em/1.4em 'Oswald', sans-serif; color: #585858; text-transform: uppercase; vertical-align: middle; } .mobile-button span:before { content: "\f0c9"; font: normal 21px/1em FontAwesome; width: 1em; height: 1em; vertical-align: top; display: inline-block; margin: -1px 5px 0 0; } .mobile-button.active span:before { color: #555; } /************************************************************************************ MAIN NAV (MOBILE) *************************************************************************************/ #main-nav-wrap { position: absolute; top: 5px; right: 95px; z-index: 1000; } /* main nav */ #headerwrap #main-nav { clear: both; position: absolute; width: 180px; height: auto; z-index: 1000; padding: 10px 12px; background-color: #fff; border: solid 1px #000; display: none; left: 50%; margin-left: -100px; margin-top: 21px; } #headerwrap #main-nav li { clear: both; float: none; padding: 5px 0; position: static; display: block; border-top: 1px solid #e5e5e5; } #headerwrap #main-nav li:first-child { border: none; } #headerwrap #main-nav a, #headerwrap #main-nav ul a { font: inherit; font-size: .85em; text-transform: inherit; background: none; width: auto; display: block; padding: 0; color: #666; border: none; } #headerwrap #main-nav a:hover, #headerwrap #main-nav ul a:hover { background: none; color: #000; } /* dropdown */ #headerwrap #main-nav ul { position: static; display: block; margin: 0; padding: 0; background: none; border: none; } #headerwrap #main-nav ul ul { margin: 0; text-align: center; } #headerwrap #main-nav ul ul:before { display: none; } #headerwrap #main-nav .sub-arrow { display: none; } /* FIXED HEADER ================================================ */ .header-on-scroll { height: 53px !important; } .fixed-header #header #searchform { margin-top: 10px; } .fixed-header .mobile-button { float: left; margin-left: 8px; margin-top: 18px; } #headerwrap.fixed-header #main-nav { left: 0; top: 100%; margin: 0; } #headerwrap.fixed-header #main-nav ul:before { left: 10px; margin-left: 0; } #headerwrap.fixed-header #main-nav ul { text-align: left; } #headerwrap.fixed-header #main-nav ul a { margin-left: 20px; } #headerwrap.fixed-header #main-nav ul ul a { padding-left: 10px; } } @media screen and (max-width: 760px) and (max-height: 600px) { /* make fixed menu scroll on mobile */ #headerwrap #main-nav { max-height: 320px; overflow: auto; -webkit-overflow-scrolling: touch; } } @media screen and (max-width: 680px) { /************************************************************************************ LOOPS WRAPPER *************************************************************************************/ .loops-wrapper { margin-left: 0 !important; } /************************************************************************************ POST *************************************************************************************/ .post-media { margin-bottom: 10px; } .media-left .post-media, .media-right .post-media { float: none !important; margin-right: 0; margin-left: 0; width: 100% !important; max-width: 100% !important; } /* grid4 */ .loops-wrapper.grid4 .post, .loops-wrapper.grid3 .post { width: 100%; margin-left: 0; float: none; } /* list post */ .sidebar-none .loops-wrapper.list-post .post { padding: 6% 0 5%; } /************************************************************************************ GRID *************************************************************************************/ .col4-1, .col4-2, .col2-1, .col4-3, .col3-1, .col3-2 { margin-left: 0 !important; width: 100% !important; max-width: 100% !important; } /************************************************************************************ HEADER *************************************************************************************/ /* social widget */ .social-widget { position: static; float: none; padding: 0; } /************************************************************************************ POST *************************************************************************************/ /* post */ .post { width: auto !important; max-width: 100% !important; margin-left: 0 !important; float: none !important; } /************************************************************************************ POST NAV *************************************************************************************/ .post-nav .prev, .post-nav .next { display: block; width: 100%; clear: both; margin-bottom: 10px; } /************************************************************************************ COMMENTS *************************************************************************************/ .commentlist { padding-left: 0; } .commentlist .commententry { clear: left; } .commentlist ul, .commentlist ol { margin: 0 0 0 5%; } .commentlist .avatar { float: left; width: 40px; height: 40px; margin: 0 10px 10px 0; } /************************************************************************************ GALLERY *************************************************************************************/ #body .gallery-columns-1 img { max-width: 50px; padding: 3px; } /************************************************************************************ FOOTER *************************************************************************************/ #footer-logo { position: static; } .footer-nav { padding: 0; } /************************************************************************************ WOOCOMMERCE SUPPORT *************************************************************************************/ .woocommerce #content div.product div.images, .woocommerce #content div.product div.summary { float: none !important; width: 100% !important; } } @media screen and (min-width: 761px) { /* ensure #nav is visible on desktop version */ #main-nav { display: block !important; } #menu-icon span { display: none; } }
Save Changes
Rename File
Rename