Skip to content

Instantly share code, notes, and snippets.

View mahesh247's full-sized avatar
🏠
Working from home

Mahesh mahesh247

🏠
Working from home
View GitHub Profile
/*
Theme Name: Catch Adaptive Child
Theme URI: http://catchthemes.com/themes/catch-adaptive
Author: Catch Themes
Author URI: http://catchthemes.com/
Description: Catch Adaptive is a Simple, Clean and Bold Full Width Responsive WordPress Theme based on Catch Base Theme. Built on HTML5, CSS3, Masonry and Theme Customizer for real time customization, it comes with a whole set of interesting and rich features which makes this theme highly customizable and flexible. Make your beautiful yet professional website in no time. This theme is translation ready and also currently translated in French, Brazilian Portuguese and German languages. Check out Theme Instructions at http://catchthemes.com/theme-instructions/catch-adaptive/, Support at http://catchthemes.com/support/ and Demo at http://catchthemes.com/demo/catch-adaptive/
Version: 1.5
License: GNU General Public License, version 3 (GPLv3)
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Text Domain: catch-adaptive
.container {
width: 98%;
padding: 0 10px;
}
#featured-heading{
width: 100%;
}
#featured-post.layout-four .featued-content-wrap, #featured-post.layout-three .featued-content-wrap {
width: 100%;
function simplecatch_content() {
global $post;
if ( is_attachment() ) {
$parent = $post->post_parent;
$layout = get_post_meta( $parent,'simplecatch-sidebarlayout', true );
} else {
$layout = get_post_meta( $post->ID,'simplecatch-sidebarlayout', true );
}