/* Theme Name: Bootstrap Magazine Theme URI: http://mythemes4wp.com/theme/bootstrap-magazine-free-wordpress-theme/ Author: MyThemes4wp Author URI: http://mythemes4wp.com/ Description: Bootstrap Magazine is clean WordPress theme for magazine, newspaper, blog or review sites. Theme includes mega menu and review support. Bootstrap Magazine WordPress theme is based on Bootstrap and easily adapts on your mobile and desktop or any other device. Theme has a very easy Customizer option panel where you can change live lot of things. Theme is translation ready. Version: 1.0.0 License: GNU General Public License v3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html Tags: gray, light, blue, two-columns, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, sticky-post, theme-options, threaded-comments, translation-ready, editor-style Text Domain: bootmag This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. Bootstrap Magazine is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc. Twitter Bootstrap Credits: 1. Bootstrap * Bootstrap v3.3.1 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=f58353a31151a8c05d7c) * Config saved to config.json and https://gist.github.com/f58353a31151a8c05d7c 2. wp_bootstrap_navwalker * Class Name: wp_bootstrap_navwalker * GitHub URI: https://github.com/twittem/wp-bootstrap-navwalker 3. Glyphicons * http://getbootstrap.com/components/ */ /* This is a small security for too long strings titles */ body { word-wrap: break-word; } a { color: #007AE2; } a:hover, a:focus { color: #004D91; text-decoration: none; } /* Alignment */ .alignleft { display: inline; float: left; margin-right: 1.5em; } .alignright { display: inline; float: right; margin-left: 1.5em; } .aligncenter { clear: both; display: block; margin: 0 auto; } /* Images and wp-captions should always fit and be responsive */ img { display: inline-block; height: auto; max-width: 100%; } img[class*="wp-image-"] { margin-top: 10px; margin-bottom: 10px; } .wp-caption { border: 1px solid #ccc; margin-bottom: 10px; max-width: 100%; border: 1px solid #ccc; border-radius: 4px; padding: 0 10px; } .wp-caption.aligncenter { margin-bottom: 10px; } .wp-caption img[class*="wp-image-"] { display: block; } .wp-caption .wp-caption-text { text-align: center; margin-top: 10px; } /* WP Gallery */ .gallery { margin-bottom: 1.5em; } .gallery a img { border: none; height: auto; max-width: 90%; } .gallery dd { margin: 0; } .gallery-caption { display: block; } /* Make sure embeds and iframes fit their containers */ embed, iframe, object { max-width: 100%; } /* Text meant only for screen readers */ .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; } .screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar */ } /* Content */ .main-content-inner { padding-bottom: 1.5em; } .hentry { margin: 0 0 1.5em; } .sticky { display: block; } .bypostauthor { display: block; } /* Clearing */ .clear { clear: both; } /* Navigation */ .dropdown-submenu{position:relative;} .dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;} .dropdown-submenu:active>.dropdown-menu, .dropdown-submenu:hover>.dropdown-menu { display: block; } .dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;} .dropdown-submenu:active>a:after{border-left-color:#ffffff;} .dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;} /* Here some needed widget styles * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */ .widget { margin-bottom: 2em; } .widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; } /* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line. * Note: you can change the whole appearance of the search_form() function in our searchform.php */ .widget_search .search-form input[type="submit"] { display: none; } /* Make sure select elements fit in widgets */ .widget select { max-width: 100%; } /* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize! * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */ .comment .children { margin-left: 1.5em; } /** * Some WP Theme Repository requirements */ .sticky { } .gallery-caption { } .bypostauthor { } .main-content { margin-top: 20px; } h2.site-title { font-size: 36px; } .entry-meta { clear: both; background: rgba(61, 61, 61, 0.06); float: left; padding: 3px 5px; } .site-header-ad{ margin-top: 10px; } .site-header-ad-inner { float: right; } .container { padding-top: 20px; } .overlay-image { position: absolute; height: 100%; display: block; left: 15px; right: 15px; top: 0; cursor: pointer; padding:15px; line-height: 28px; font-weight: bold; text-align: center; background-color: #333; -webkit-transition: all 0.3s linear; -moz-transition: all 0.3s linear; -o-transition: all 0.3s linear; -transition: all 0.3s linear; opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); } .overlay-image:hover { opacity: 0.4; } .rewiew-total { float: left; margin-right: 10px; } .home-category { margin-bottom: 0; line-height: 26px; background: rgba(0, 0, 0, 0.58); padding: 0 5px; float: left; } .title { clear: both; } .cat-four-home, .comments-area { padding: 15px; background: rgb(242, 242, 242); border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; margin-bottom: 20px; display: block; border: 1px solid #EDEBEB; } .cat-four-home .rewiew-total { position: absolute; top: 0; left: 15px; } .cat-four-home h2.page-title { margin-top: 0px; } .cat-four-home .home-category { position: absolute; top: 0; right: 15px; } .cat-one-small img{ width: 65px; float: left; } .cat-one-small .title { clear: none; } .cat-one-small .title a h2 { padding: 0px 0 0 10px; font-size: 18px; overflow: hidden; margin: 0; } .cat-one-small-block { clear: both; margin-bottom: 20px; overflow: hidden; } .thetime { margin-left: 10px; } .meta-small { margin-left: 10px; float: left; } .cat-one-small p { float: left; } #content article { margin-bottom: 20px; } #content article h2.page-title{ margin-top: 0px; } .home-article .btn { margin-top: 15px; } .post { overflow: hidden; } .entry-content { clear: both; } .widget, #content.main-content-inner article, #content .page, #copyright-note{ padding: 15px; background: rgb(242, 242, 242); border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; margin-bottom: 20px; border: 1px solid #EDEBEB; } .search .page.hentry { /* float: left; */ display: block; float: left; width: 100%; padding: 0 !important; border: none !important; background-color: transparent !important; } .search .post { float: left; } .entry-content-thumbnail { margin-bottom: 15px; } .pager li>a, .pager li>span { border-radius: 5px; } #breadcrumbs{ list-style:none; margin:10px 0; overflow:hidden; padding: 0 0 10px 0; border-bottom: 1px solid rgba(102, 102, 102, 0.19); } #breadcrumbs li{ display:inline-block; vertical-align:middle; margin-right:15px; } #breadcrumbs .separator{ font-size:18px; font-weight:400; } .widget ul { padding:0; } .sidebar .nav>li>a { display: inline-block; } .morecat { text-align: center; } .pics { margin-bottom: 15px; } .review-total-only { opacity: 0.8; } .nav>li>a { display: inline-block; } .block-title { font-size: 20px; padding-bottom: 5px; margin-bottom: 15px; border-bottom: 1px solid rgba(102, 102, 102, 0.28); } .comment { list-style-type: none; } .copyright-left-text { float: left; } .copyright-text { float: right; } /* == Quick CSS styling tips == You can start off in a rough direction with some minimal styles. See below for some tips. ;) == Want to have the whole site wrapped? == Just fill the .container class with some background color to have a the whole site "wrapped". This works so easy because every main part is wrapped only once into a container class by bootstrap. Try out by decommenting the next line and go from there. .container { background: #f9f9f9; border-right: 1px solid #eee; border-left: 1px solid #eee; } == Want to wrap just the content and sidebar in Bootstrap style? == That one is a great example to show that some things are much cleaner and easier to do via just adding some HTML classes. In this case, we will add just one CSS class "panel", look for example at the beginning in content.php! == Infinite Scrolling by Jetpack == You can enable this cool feature by simply decommenting the lines below and make sure you use the same classes on the right place in your html.. /* Globally hidden elements when Infinite Scroll is supported and in use. * Older / Newer Posts Navigation (the pagination, must always be hidden), Theme Footer only when set to scrolling.. */ /* .infinite-scroll .page-links, .infinite-scroll.neverending .site-footer { display: none; } */ /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */ /* .infinity-end.neverending .site-footer { display: block; } */ /* Hey, if you don't need my comments anymore, just delete me! :) */