Forum Replies Created
-
AuthorPosts
-
Sakin
Keymaster@kteschmitt: Ok here is the code. You just need to create empty functions.php file in your child theme and then add the following code.
<?php /** * Catch Box Child Theme functions and definitions * */ /** * Header Menu * * @since Catch Box 2.5 */ function catchbox_header_menu() { ?> <nav id="access" role="navigation"> <h3 class="assistive-text"><?php _e( 'Primary menu', 'catchbox' ); ?></h3> <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?> <div class="skip-link"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'catchbox' ); ?>"><?php _e( 'Skip to primary content', 'catchbox' ); ?></a></div> <div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'catchbox' ); ?>"><?php _e( 'Skip to secondary content', 'catchbox' ); ?></a></div> <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?> <?php if ( has_nav_menu( 'primary', 'catchbox' ) ) { $args = array( 'theme_location' => 'primary', 'container_class' => 'menu-header-container', 'items_wrap' => '<ul class="menu">%3$s</ul>' ); wp_nav_menu( $args ); } else { echo '<div class="menu-header-container">'; wp_page_menu( array( 'menu_class' => 'menu' ) ); echo '</div>'; } ?> </nav><!-- #access --> <?php if ( has_nav_menu( 'secondary' ) && is_page(array('375', '333', '327', '381', '335' ) ) ) { // Check is footer menu is enable or not $options = catchbox_get_theme_options(); if ( !empty ($options ['enable_menus'] ) ) : $menuclass = "mobile-enable"; else : $menuclass = "mobile-disable"; endif; ?> <nav id="access-secondary" class="<?php echo $menuclass; ?>" role="navigation"> <h3 class="assistive-text"><?php _e( 'Secondary menu', 'catchbox' ); ?></h3> <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?> <div class="skip-link"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'catchbox' ); ?>"><?php _e( 'Skip to primary content', 'catchbox' ); ?></a></div> <div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'catchbox' ); ?>"><?php _e( 'Skip to secondary content', 'catchbox' ); ?></a></div> <?php wp_nav_menu( array( 'theme_location' => 'secondary', 'container_class' => 'menu-secondary-container' ) ); ?> </nav> <?php } }Sakin
Keymaster@ashrafashraf: Yes that Page ID 42 is just sample, you need to add the ID of the page where you want the slider.
You can add the following css in “Appearance => Theme Options => Custom CSS” box.
.easingsliderlite, .easingsliderlite-shadow { margin: 0 auto !important; }Sakin
Keymaster@Richard: Yes sure. Please contact our sales directly with our first purchase details and second purchase need.
Sakin
Keymaster@kfunk: Sorry this option in not available at this stage. We will work on it for further releases. We wanted to keep it only in homepage that is why we called in Homepage Headline.
If you know the technical php then you can do this by building child theme. You can just build child theme and then create functions.php file in your child theme, copy fucntion
catchkathmandu_homepage_headlinefromcatchkathmandu-functions.phpfile to your child themefunctions.phpfile. Then in your child themefunctions.phpfile replace the following code
if ( ( is_front_page() || ( is_home() && $page_for_posts != $page_id ) ) && ( empty( $disable_headline ) || empty( $disable_subheadline ) || empty( $disable_button ) ) ) {
With the following code
if ( empty( $disable_headline ) || empty( $disable_subheadline ) || empty( $disable_button ) ) {Sakin
Keymaster@ashrafashraf: If it’s your homepage is static front page then you can use is_front_page() condition, if you use latest post in front page then use is_home() condition . You will find Page ID in All pages columns and if not then you can use this plugin Catch IDs
Sakin
Keymaster@Le Moué: Hum it’s strange as we haven’t change much in version 2.4. It’s all just quick bug fixes. It shouldn’t be effecting any performance. If you have recently upgraded your WordPress or any other plugin then check that. Also I would like to let you know that now a days WordPress admin call Google Custom Font and it take bit of time to load as well. So, it depends on the internet you use.
Sakin
Keymaster@iceman027: Thanks for informing that you fixed it. Cheers 🙂
Sakin
Keymaster@Dennis Lynge Nielsen: I think you should opt for Pro version where you have all color options for Menus. You can simple use Color Pick or Paste the color code.
Sakin
Keymaster@Dennis Lynge Nielsen: Sorry you are not supposed to remove/change the text copyright/powered by. This is attribution that you need to provide for getting free theme and free support. If you want to change/remove this then you need to upgrade to Catch Kathmandu Pro version where you will get Footer Editor option in Theme Options panel to edit it. Further, you will get Color Options to change the color as per your need. Check out theme instruction of Catch Kathmandu Pro http://catchthemes.com/theme-instructions/catch-kathmandu-pro/ for additional features you get.
Sakin
Keymaster@Dennis Lynge Nielsen: Sorry bit confused as I don’t have your site URL to check in. Are you talking about removing the box shadow around the pages, then you can add the following css in “Appearance => Theme Options => Custom CSS” box.
.site { box-shadow: none; }Sakin
KeymasterHi Bethna,
Can you try adding in the following css in “Appearance => Theme Options => Custom CSS” box.
#header-menu #access { background: none #136507 }Sakin
Keymaster@Perriard: See this screenshot http://www.pinterest.com/pin/548594798331985501/. Where you have add in your image URL in Image For example you image url will be like this http://concertation.ch/ipromed/wp-content/uploads/sites/2/2014/05/Photo-mediateur-urbain.png
If you still cannot find it then you can send me your images URL and then I will send you screenshot with your image URL so that you can do it exactly.
Sakin
Keymaster@jghford: I think you are talking about Homepage Headlines and button. You can disable or edit that from “Appearance => Theme Options => Homepage Settings => Homepage Headline Options”.
Sakin
Keymaster@rgamlam: Try adding in the following css in “Appearance => Theme Options => Custom CSS” box.
.site-content article { -webkit-hyphens: manual; -moz-hyphens: manual; hyphens: manual; }Sakin
KeymasterHello Tim,
It’s somehow similar and doesn’t make much difference. Custom CSS box is easy to use but child theme in something we need technical knowledge. So, if you are a developer or have technical knowledge, go to Child theme style.css. It gives you personalized experience.
Regards,
SakinSakin
Keymaster@James: You can add the following css in “Appearance => Theme Options => Custom CSS” box to add bullets in your list items in footer widgets.
#supplementary .widget ul { list-style: disc outside; margin-left: 15px; }Sakin
Keymaster@Tim: This Custom CSS will load above header. Custom CSS are text and will not take much space to optimize it. The main optimization should be in the images you use and also try to use minimize the uses of plugins.
Sakin
Keymaster@mergelane: Sorry David, I don’t understand what are you trying to say it. Can you send me your site URL and explain the issue in reference to your site. So, that I can check in the issue.
Sakin
Keymaster@maevamena: This is WordPress custom header image issue. Sometime, when you upload the image from “Appearance => Header” and on Crop screen, we just click on “Don’t Crop and Publish as it is”, it take in the default image size. This issue only occurs sometimes when you make changes in custom header.
So, to correct this what you can do it. Go to “Appearance => Header” and upload the new image. Then in “Crop Header Option” select the entire image area and click on “Crop and Publish”. This should fixed you issue. See this screenshot http://www.pinterest.com/pin/548594798331307420/
Sakin
Keymaster@ashrafashraf: You can use is_page condition and create function same like before. Here is sample that you can add just below your previous code. There no need to open
<?phpas it’s already been open in your previous code.function catchbox_child_easingsliderlite() { // Loads slider only in page ID 42 if ( is_page( 42 ) && function_exists( "easingsliderlite" ) ) { easingsliderlite(); } } add_action( 'catchbox_before_primary', 'catchbox_extra_gallery', 15 ); -
AuthorPosts
