Forum Replies Created
-
AuthorPosts
-
Sakin
Keymaster@telexesposito: You shouldn’t copy the parent theme functions.php file to your child theme. You should create empty functions.php file and then you need copy the code I gave you. Remember one thing, you functions.php file should start with
<?phpIf you forgot to add this then it will not work.Sakin
Keymaster@WilliamA: You can do like that in Responsive design site. If you add like that then it will be problem when you view you site in mobile devices. Also the css will be like this
#site-logo a:hover { background: url("http://techiesnation.com/wp-content/uploads/2014/03/cropped-TechiesNationLogoBasegreen.png") no-repeat; }March 12, 2014 at 9:01 am in reply to: Header image is perfect on desktop but too narrow on notebook #21211Sakin
Keymaster@Bouncedancer: Sorry I don’t get it what you mean. Can you explain with your site URI and you can share screenshot.
Sakin
Keymaster@Nancy: You can control at from CSS. Yes, we hide it in mobile devices. If you add the following css in “Apperance => Theme Options => Custom CSS” box then it will display the default search but will hide the search in social search widget.
@media screen and (max-width: 767px) { .sidebar-top #searchform { display: block; } .sidebar-top .widget_catchevolution_social_search_widget #searchform { display: none; } }Sakin
Keymaster@Bouncedancer: Yes you are right, quick edit in All Post View and All Pages View works good.
Sakin
Keymaster@Bouncedancer: Let me know if you have issue after you publish the page.
Sakin
Keymaster@Bouncedancer: Yes, that you do that for page and post with quick edit and also with edit. But in Pro version comment settings. You can control overall page/post settings.
Sakin
Keymaster@billm: For detail customization please user Hire a customizer. As you need to add body_class or you need to add css to support your new template.
Sakin
Keymaster@kevin.murray: SO has it been fixed in your server. Yes, Open Sans is Google Font and is loading from google
Sakin
Keymaster@Mark: Yes three columns layout means you have 2 columns for sidebar and 1 column for your content. See the following demo pages
Page with left and right sidebar: http://catchthemes.com/demo/catch-evolution/three-columns-layout-wordpress-themes/
Page with both sidebar on right: http://catchthemes.com/demo/catch-evolution/three-columns-layout-wordpress-themes-2/Sakin
Keymaster@Nancy: It’s the effect. But if don’t want to right. Then you add the following CSS in “Appearance => Theme Options => Custom CSS” which will hide overflow.
#primary { overflow: hidden; }Sakin
Keymaster@telexesposito: You can just copy the following code in your child theme functions.php file and edit as per your need.
<?php /** * Get the header logo Image from theme options * * @uses header logo * @get the data value of image from theme options * @display Header Image logo * * @uses default logo if logo field on theme options is empty * * @uses set_transient and delete_transient */ function simplecatch_headerdetails() { //delete_transient( 'simplecatch_headerdetails' ); global $simplecatch_options_settings; $options = $simplecatch_options_settings; if ( ( !$simplecatch_headerdetails = get_transient( 'simplecatch_headerdetails' ) ) && ( !empty( $options[ 'featured_logo_header' ] ) || empty( $options[ 'remove_site_title' ] ) || empty( $options[ 'remove_site_description' ] ) ) ) { echo '<!-- refreshing cache -->'; $simplecatch_headerdetails = '<div class="logo-wrap">'; if( empty ($options[ 'remove_header_logo' ] ) ) { $simplecatch_headerdetails .= '<h1 id="site-logo"><a href="'.esc_url( home_url( '/' ) ).'" title="'.esc_attr( get_bloginfo( 'name', 'display' ) ).'">'; // if not empty featured_logo_footer on theme options if ( !empty( $options[ 'featured_logo_header' ] ) ) : $simplecatch_headerdetails .= '<img src="'.esc_url( $options[ 'featured_logo_header' ] ).'" alt="'.get_bloginfo( 'name' ).'" />'; else: // if empty featured_logo_footer on theme options, display default Header Logo $simplecatch_headerdetails .='<img src="'. get_template_directory_uri().'/images/logo-head.png" alt="logo" />'; endif; $simplecatch_headerdetails .= '</a></h1>'; } if( empty( $options[ 'remove_site_title' ] ) || empty( $options[ 'remove_site_description' ] ) ) { $simplecatch_headerdetails .= '<div id="site-details">'; if ( empty( $options[ 'remove_site_title' ] ) ) { $simplecatch_headerdetails .= '<h1 id="site-title"><a href="'.esc_url( home_url( '/' ) ).'" title="'.esc_attr( get_bloginfo( 'name', 'display' ) ).'">'.esc_attr( get_bloginfo( 'name', 'display' ) ).'</a></h1>'; } if ( empty( $options[ 'remove_site_description' ] ) ) { $simplecatch_headerdetails .= '<h2 id="site-description">'.esc_attr( get_bloginfo( 'description' ) ).'</h2>'; } $simplecatch_headerdetails .= '</div><!-- .site-details -->'; } $simplecatch_headerdetails .= '</div><!-- .logo-wrap -->'; set_transient( 'simplecatch_headerdetails', $simplecatch_headerdetails, 86940 ); } echo $simplecatch_headerdetails; }Sakin
Keymaster@jabbadu: Are you talking about the button in Homepage Headline? There is no option at this stage to change it. But you can change it by customizing the catchkathmandu_homepage_headline function in your child theme. So, first build child theme and create functions.php file in your child theme and then add the following code
<?php /** * Template for Homepage Headline * * To override this in a child theme * simply create your own catchkathmandu_homepage_headline(), and that function will be used instead. * * @uses catchkathmandu_before_main action to add it in the header * @since Catch Kathmandu Pro 1.0 */ function catchkathmandu_homepage_headline() { //delete_transient( 'catchkathmandu_homepage_headline' ); global $post, $wp_query, $catchkathmandu_options_settings; $options = $catchkathmandu_options_settings; // Getting data from Theme Options $disable_headline = $options[ 'disable_homepage_headline' ]; $disable_subheadline = $options[ 'disable_homepage_subheadline' ]; $disable_button = $options[ 'disable_homepage_button' ]; $homepage_headline = $options[ 'homepage_headline' ]; $homepage_subheadline = $options[ 'homepage_subheadline' ]; $homepage_headline_button = $options[ 'homepage_headline_button' ]; $homepage_headline_url = $options[ 'homepage_headline_url' ]; // Front page displays in Reading Settings $page_on_front = get_option('page_on_front') ; $page_for_posts = get_option('page_for_posts'); // Get Page ID outside Loop $page_id = $wp_query->get_queried_object_id(); if ( ( is_front_page() || ( is_home() && $page_for_posts != $page_id ) ) && ( empty( $disable_headline ) || empty( $disable_subheadline ) ) ) { if ( !$catchkathmandu_homepage_headline = get_transient( 'catchkathmandu_homepage_headline' ) ) { echo '<!-- refreshing cache -->'; $catchkathmandu_homepage_headline = '<div id="homepage-message" class="container"><div class="left-section">'; if ( $disable_headline == "0" ) { $catchkathmandu_homepage_headline .= '<h2>' . sprintf( __( '%s', 'catchkathmandu' ) , $homepage_headline ) . '</h2>'; } if ( $disable_subheadline == "0" ) { $catchkathmandu_homepage_headline .= '<p>' . sprintf( __( '%s', 'catchkathmandu' ) , $homepage_subheadline ) . '</p>'; } $catchkathmandu_homepage_headline .= '</div><!-- .left-section -->'; if ( !empty ( $homepage_headline_url ) && $disable_button == "0" ) { $catchkathmandu_homepage_headline .= '<div class="right-section"><a href="' . $homepage_headline_url . '" target="_self">' . $homepage_headline_button . '</a></div><!-- .right-section -->'; } $catchkathmandu_homepage_headline .= '</div><!-- #homepage-message -->'; set_transient( 'catchkathmandu_homepage_headline', $catchkathmandu_homepage_headline, 86940 ); } echo $catchkathmandu_homepage_headline; } }Sakin
Keymaster@telexesposito: You need to build child theme and then create functions.php file in your child theme and copy
simplecatch_headerdetailsfunction code from simplecatch_functions.php file to your child theme functions.php file and edit it as per you need.Sakin
Keymaster@aeriformarts: You can go to “Appearance => Theme Options => Homepage Settings => Homepage Featured Content Options”. Then in image, you can directly add in the image URI or click on “Add Image”, then you can either upload it form your computer or from media uploader. After you upload the image, you need to click on “Insert into Post”. See this screenshot http://www.pinterest.com/pin/548594798329798533/
Sakin
Keymaster@cpuss: You have customize the theme a lot and it’s difficult to track it down. When I check in your site you have menu transparent. Also there is one css that you might want to change
#header-menu { background-color: transparent; }Sakin
Keymaster@Steve: First, I see that you are using “Header Featured Image” instead of “Header Image” for logo. The best option it to user Header image for logo, you can add that from “Appearance => Header”. This Header Featured Image is for adding extra featured image like banner and all.
But if you like to control this Image then you can use the CSS ID main-feat-img. SI see that you have added the following CSS in “Appearance => Theme Options => Custom CSS” box.
#main-feat-img { box-shadow: none; /* Remove Border */ float: left; /* Float Left */ padding-top:50px; padding-bottom:0px; padding-right:0px; padding-left:50px; }To center you need to remove
float: left; /* Float Left */andpadding-left:50px;from the above css. Since, you are not using Header Image and site titles you can hide that by adding in the following css
#hgroup-wrap { display: none; }Sakin
Keymaster@Nancy: when I check in your site, it’s working perfectly. After you resize your browser you need to wait for a bit so that slider takes it’s shape.
-
AuthorPosts
