Forum Replies Created
-
AuthorPosts
-
Mahesh
ParticipantHi @jie66,
Please post in your site url. The theme is translation ready and is compatible with translation plugins like WPML, Qtranslate.
Which translation plugin are you using? I’ve tested with Qtranslate and is working fine.Regards,
MaheshJanuary 25, 2016 at 12:55 pm in reply to: setting widgets to show horiztonal in footer instead of vertical? #83662Mahesh
ParticipantMahesh
ParticipantHi @Moods,
Please go to “Dashboard=> Appearance=> Customize=> Theme Options=> Frontpage/Homepage Options” and make sure that nothing is select. Only the post within categories selected in here will be displayed in the blog page.
Regards,
MaheshMahesh
ParticipantHi @shawn,
Please add the following CSS in “Dashboard=> Appearance=> Theme Options=> Custom CSS” box.
#content article.post { padding: 10px 10px 30px; }Regards,
MaheshMahesh
ParticipantHi @Daniel,
Sorry there. Thank you for using Catch Box Pro.
For gif images in slider, go to “Dashboard=> Appearance=> Theme Options=> Featured Slider (Tab)” and select Featured Image Slider in Select Slider Type option. Then scroll down you’ll see Featured Image Slider Options, click on Add/Change button in image and choose your desired gif image. After you’re done, click Save.Let me know if this helps with your issue.
Regards,
MaheshMahesh
ParticipantHi @Mark Argentino,
It is not necessay to follow the theme structure in child theme. Please remove the inc folder from child theme’s folder. Add the following code in child theme’s
functions.php.function catchbox_header_details() { // Check to see if the header image has been removed global $_wp_default_headers; $header_image = get_header_image(); if ( ! empty( $header_image ) ) : echo '<div id="hgroup" class="site-details with-logo">'; else : echo '<div id="hgroup" class="site-details">'; endif; // end check for removed header image ?> <h1 id="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2> </div><!-- #hgroup --> <?php }And then modify the “site-description” as desired. The modification here will override the parent theme’s function and you can see the changes in the frontend.
Let me know if any problems.
Regards,
MaheshJanuary 25, 2016 at 10:35 am in reply to: Remove borders around the content boxes and widgets and narrow sidebar #83655Mahesh
ParticipantHi @Lucia,
That is because of the responsive design issue. Please add the following CSS and it will fix the issue.
@media screen and (max-width: 1224px) { #primary { width: 654px; } #secondary { width: 340px; } } @media screen and (max-width: 1060px) { #primary { width: 530px; } } @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) { #primary { width: 590px; } } @media screen and (max-width: 960px) { #primary, #secondary, .no-sidebar #primary { width: 100%; } }Mahesh
ParticipantHi @Deborah,
Go to “Dashboard=> Appearance=> Customize=> Static Front Page” and make sure that you’ve selected Tips and Tricks page in Posts Page dropdown.
The query in the above code is fine.
Regards,
MaheshMahesh
ParticipantMahesh
ParticipantHi @Mouvance web,
Thank you for your appreciation.
Regards,
MaheshMahesh
ParticipantHi @Mouvance web,
Thank you for the clarification.
For that you need to create a child theme. Please visit this LINK to find more details on creating the child theme. Then in child theme’s functions.php add the following function.function catchresponsive_custom_header() { $options = catchresponsive_get_theme_options(); if ( 'light' == $options['color_scheme'] ) { $default_header_color = catchresponsive_get_default_theme_options(); $default_header_color = $default_header_color['header_textcolor']; } else if ( 'dark' == $options['color_scheme'] ) { $default_header_color = catchresponsive_default_dark_color_options(); $default_header_color = $default_header_color['header_textcolor']; } $args = array( // Text color and image (empty to use none). 'default-text-color' => $default_header_color, // Header image default 'default-image' => get_template_directory_uri() . '/images/headers/buddha.jpg', // Set height and width, with a maximum value for the width. 'height' => 300, 'width' => 1200, // Support flexible height and width. 'flex-height' => true, 'flex-width' => true, // Random image rotation off by default. 'random-default' => false, // Callbacks for styling the header and the admin preview. 'wp-head-callback' => 'catchresponsive_header_style', 'admin-head-callback' => 'catchresponsive_admin_header_style', 'admin-preview-callback' => 'catchresponsive_admin_header_image', ); $args = apply_filters( 'custom-header', $args ); // Add support for custom header add_theme_support( 'custom-header', $args ); }Regards,
MaheshMahesh
ParticipantHi @husker,
There is no color option in Catch Responsive Free. The color option in the customizer i.e Title Color and Background Color is WordPress’s default features for customizer.
However you can change it with Custom CSS or add the CSS in child theme’s style.css if you want to change in code.
Regards,
MaheshMahesh
ParticipantHi @Mark Argentin,
If you want to change any functions or codes do not change the theme’s core files. You’ll lose it all with theme updates. It is highly recommended to use the child theme for the theme modifications. You can find more details on how to create child theme HERE.
1. The shortcode [date] is same for both the theme, but as you are using index.html as a page, the shortcode won’t work.
2. In Catch Box Pro,
catchbox_header_detailsfunction is moved to catch-box-pro/inc/custom-header.php. It recommended not to change the code here directly, first create a child theme then infunctions.phpcopy the function, then modify it there.3. For justification, CSS provided Sakin previously will work as before. Go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the CSS.
4. For “Recommend this on Google” link, you can no do it with the theme without touching the code. Please follow along.
Go to “Dashboard=> Appearance=> Theme Options=> Footer Editor Options” and add the following HTML at the very end.<div class="gplus-holder"> <div class="g-plusone" data-annotation="inline" data-width="300"></div> </div>Then Go to “Dashboard=> Appearance=> Theme Options=> Web Master Tools=> Header and Footer codes=> Code to display on Footer” and add the following scripts.
<script type="text/javascript"> (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/platform.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script>And lastly, go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS:
.gplus-holder { width: 100px; }Regards,
MaheshMahesh
ParticipantHi @Deborah,
For the above, you have to create a child theme. You can find more on how to create child theme HERE. If you have set Tips and Tricks page as the blog page then creating other template won’t work. You have to create index.php in child theme to override default blog page. Following is the code for index.php.
<?php // Exit if accessed directly if ( !defined('ABSPATH')) exit; /** * Template Name: Blog Template * Description: A Page Template that disables a blog * * @package Catch Themes * @subpackage Catch_Evolution_Pro * @since Catch Evolution Pro 1.0 */ get_header(); ?> <?php global $more, $wp_query, $post, $paged; $more = 0; if ( get_query_var( 'paged' ) ) { $paged = get_query_var( 'paged' ); } elseif ( get_query_var( 'page' ) ) { $paged = get_query_var( 'page' ); } else { $paged = 1; } $blog_query = new WP_Query( array( 'post_type' => 'post', 'paged' => $paged , 'category_name' => 'tips-and-tricks' ) ); $temp_query = $wp_query; $wp_query = null; $wp_query = $blog_query; if ( $blog_query->have_posts() ) : ?> <header class="page-header"> <h1 class="page-title"><?php the_title(); ?></h1> </header> <?php while ( $blog_query->have_posts() ) : $blog_query->the_post(); ?> <?php /* Include the Post-Format-specific template for the content. * If you want to overload this in a child theme then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?> <?php catchevolution_content_nav( 'nav-below' ); ?> <?php else : ?> <article id="post-0" class="post no-results not-found"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Nothing Found', 'catch-evolution' ); ?></h1> </header><!-- .entry-header --> <div class="entry-content"> <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'catch-evolution' ); ?></p> <?php get_search_form(); ?> </div><!-- .entry-content --> </article><!-- #post-0 --> <?php endif; $wp_query = $temp_query; wp_reset_postdata(); ?> </div><!-- #content --> </div><!-- #primary --> <?php get_sidebar(); ?> <?php get_footer(); ?>And for news and other categories, create a template file as above and then while create the page select the respective templage.
Note: In the above code, please change the category-name to your category respective category slugs. (not id).
Regards,
MaheshMahesh
ParticipantHi @helpme.
I’ve checked your site, you’ve add some Custom CSS for Site Title and Site Description font size. You have used only one rule so the font-size stays the same for all devices (desktop or mobile). Please add the following CSS in “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box.
@media screen and (min-width: 421px) and (max-width: 570px) { .site-title { font-size: 55px; } .site-description { font-size: 30px; } } @media screen and (max-width: 420px) { .site-title { font-size: 40px; } .site-description { font-size: 24px; } }Regards,
MaheshMahesh
ParticipantHi @Mouvance web,
I didn’t get what you mean by header-size image size. Where do you want to actually use it? Please clarify more.
Regards,
MaheshMahesh
ParticipantHi @Daniel,
This feature is only available in Catch Box Pro version. I recommend you to upgrade to pro version.
Regards,
MaheshMahesh
ParticipantHi @katta,
In single article, by the comment area is “close” do you mean the comment area doesn’t show up or you cannot just submit the comment?
If comment area is not displayed, please go to Edit post page and there is a Screen button on the top right below the profile link. Click and check the discussion checkbox ( if it is unchecked ). Then scroll down to Discussion tab and make sure that allow comment checkbox is checked.And the other one about the WordPress’s password protection, it is working fine. Do you get any specific error?
Let me know further.
Regards,
Mahesh -
AuthorPosts
