Forum Replies Created
-
AuthorPosts
-
December 8, 2016 at 10:29 am in reply to: How do I get the Featured slider, promotion headline to Translate with polylang #104884
Mahesh
Participant@chirsdug: For this, you’ll need to create a child theme. You can find more details on creating child theme HERE. Then in your child theme’s
functions.php, add the following codes:if ( ! function_exists( 'catchresponsive_child_polylang_invalidcache' ) ) : /** * Template for Clearing Polylang Invalid Cache * */ function catchresponsive_child_polylang_invalidcache() { delete_transient( 'catchresponsive_promotion_headline' ); delete_transient( 'catchresponsive_featured_content' ); delete_transient( 'catchresponsive_featured_slider' ); } // catchresponsive_child_polylang_invalidcache endif; add_action( 'after_setup_theme', 'catchresponsive_child_polylang_invalidcache' );This function is for Promotion Headline for custom language, with give you option to put the desired text for the translation.
function catchresponsive_child_polylang() { if ( function_exists( 'pll_register_string' ) ) { $options = catchresponsive_get_theme_options(); $promotion_headline = $options['promotion_headline']; $promotion_subheadline = $options['promotion_subheadline']; $promotion_headline_button = $options['promotion_headline_button']; $headline = $options ['featured_content_headline']; $subheadline = $options ['featured_content_subheadline']; pll_register_string( 'featured_content_headline', $headline ); pll_register_string( 'featured_content_subheadline', $subheadline ); pll_register_string( 'promotion_headline', $promotion_headline ); pll_register_string( 'promotion_subheadline', $promotion_subheadline ); pll_register_string( 'promotion_headline_button', $promotion_headline_button ); } } add_action ( 'admin_init', 'catchresponsive_child_polylang' );Regards,
MaheshMahesh
Participant@jeffersonxavier_rcc: The theme is fully responsive and the slider does diminish and expand according to the screen size. Am I getting you correct? Let me know further.
Regards,
MaheshMahesh
Participant@jorgecsanz: Go to Dashboard=> Appearance=> Customize=> Additional CSS box and add the following CSS:
.sidr { background-color: rgb(51, 51, 51); }Regards,
MaheshMahesh
Participant@jeffersonxavier_rcc: Go to Dashboard=> Appearance=> Customize=> Additional CSS and add the following CSS:
#masthead { min-height: 88px; }Regards,
MaheshMahesh
Participant@jorgecsanz: Please add the following CSS:
#access-secondary { background-color: #fff; }Regards,
MaheshMahesh
Participant@mwstichel: Yes, you can update without any doubt. All setting will be preserved as they are. But if you have customized the theme core files, those will be lost. Settings won’t be affected.
Regards,
MaheshMahesh
Participant@floh: Do you mean to change banner image on mobile devices only? Add the following CSS:
@media screen and (max-width: 767px) { #masthead { background-image: url("YOUR_IMAGE_URL"); } }Note: Please replace YOUR_IMAGE_URL in the above code with the image you want.
Regards,
MaheshMahesh
Participant@filip_1: For this, you’ll need to create a child theme. You can find more details on creating child theme HERE. Then in you child theme’s
functions.phpadd the following codes:function simplecatch_loop() { if ( is_page() ): ?> <section <?php post_class(); ?> > <header class="entry-header"> <h1 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php echo esc_attr( get_the_title() ); ?>"><?php the_title(); ?></a></h1> </header> <div class="entry-content clearfix"> <?php the_content(); // copy this <!--nextpage--> and paste at the post content where you want to break the page wp_link_pages(array( 'before' => '<div class="pagination">Pages: ', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '%', 'echo' => 1 ) ); ?> </div> </section><!-- .post --> <?php elseif ( is_single() ): ?> <section <?php post_class(); ?>> <header class="entry-header"> <h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php echo esc_attr( get_the_title() ); ?>"><?php the_title(); ?></a></h1> <div class="entry-meta"> <ul class="clearfix"> <li class="no-padding-left author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php echo esc_attr(get_the_author_meta( 'display_name' ) ); ?>" rel="author"><?php _e( 'By', 'simple-catch-pro' ); ?> <?php the_author_meta( 'display_name' );?></a></li> <li class="entry-date updated"><?php $simplecatch_date_format = get_option( 'date_format' ); the_time( $simplecatch_date_format ); ?></li> <li><?php comments_popup_link( __( 'No Comments', 'simple-catch-pro' ), __( '1 Comment', 'simple-catch-pro' ), __( '% Comments', 'simple-catch-pro' ) ); ?></li> </ul> </div> </header> <div class="entry-content clearfix"> <?php the_content(); // copy this <!--nextpage--> and paste at the post content where you want to break the page wp_link_pages(array( 'before' => '<div class="pagination">Pages: ', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '%', 'echo' => 1 ) ); ?> </div> <footer class="entry-meta"> <?php $tag = get_the_tags(); if (! $tag ) { ?> <div class='tags'><?php _e( 'Categories: ', 'simple-catch-pro' ); ?> <?php the_category(', '); ?> </div> <?php } else { the_tags( '<div class="tags"> ' . __('Tags', 'simple-catch-pro') . ': ', ', ', '</div>'); } ?> </footer> </section> <!-- .post --> <?php endif; } // simplecatch_loopAnd then copy
content.phpto from parent theme to child theme.And replace No Comments string in both files with your desired text in Croatian.
After that, go to Dashboard=> Settings=> General and select Hrvatski option in Site Language drop down.
Hope this helps. Let me know if any problem.
Regards,
MaheshMahesh
Participant@partizant: There has been a small bug in the theme, edit
woocommerce.phpfile (e-commerce-pro/inc/woocommerce.php) remove this following codes (line 36):/** * Show cart contents (total link). */ if ( ! function_exists( 'e_commerce_cart_link' ) ) { function e_commerce_cart_link() { ?> <div class="cart-contents cart_totals sidebar-cart"> <?php if ( is_woocommerce_activated() ) { ?> <a href="<?php echo esc_url( WC()->cart->get_cart_url() ); ?>" title="<?php _e( 'View cart', 'e-commerce-pro' ); ?>"> <span class="cart-icon"></span><span class="subtotal"><?php echo wp_kses_data( WC()->cart->get_cart_subtotal() ); ?></span> <span class="count"><?php echo wp_kses_data( sprintf( _n( '%d item', '%d items', WC()->cart->get_cart_contents_count(), 'e-commerce-pro' ), WC()->cart->get_cart_contents_count() ) );?></span> </a> <?php } else { get_Search_form(); } ?> </div><!-- .cart-contents.cart_totals.sidebar-cart --> <?php } }edit
structure.phpfile (e-commerce-pro/inc/structure.php) remove this following codes (line 286):<?php if ( !$e_commerce_primary_search_disable ) : e_commerce_cart_link() ; endif; ?>You can remove this from the core files itself. The issue will be fixed on the next update.
Regards,
MaheshMahesh
Participant@vagabundo: For that, you’ll need to use Custom Menu widget. Go to Dashboard=> Appearance=> Widgets then put Custom Menu widget in Secondary Sidebar and select the menu you want to display there. Then you are good to go.
Please make user you’ve remove the Secondary menu from the header.Regards,
MaheshMahesh
Participant@ccarmody: The theme itself has no such feature, you can find numbers of plugins to do so in WordPress repository.
https://wordpress.org/plugins/Regards,
MaheshDecember 7, 2016 at 12:22 pm in reply to: Align Primary Menu Left and Mobile menu not showing. #104772Mahesh
Participant@fastlanz: I checked your site, and the seems your mobile menu isn’t working. On our server, the menu is working fine. You can check the demo too.
https://catchthemes.com/demo/full-frame/
Have you tried disabling the rev-slider too? and all other plugins?Regards,
MaheshMahesh
Participant@mmhgloba: Go to Dashboard=> Appearance=> Customize=> Menu Options and make sure that Check to Disable Header Right Menu option is unchecked. Then go to Dashboard=> Appearance=> Customize=> Menus and select you desired menu in Header Right Menu dropdown option. Leave the Secondary Header Menu empty.
Hope this helps.Regards,
MaheshDecember 7, 2016 at 11:09 am in reply to: Kathmandu Change size of Featured Content image; insert menu possible? #104742Mahesh
Participant@jrdphd: You mean to align the text to center? Add the following CSS:
#featured-post .post { text-align: center; }Regards,
MaheshMahesh
Participant@jrdphd: The default size of the slider content is 350px. You’ve put 350px in Custom CSS thats why you saw no changes. And other thing is, you are using same color for text and the background.
Let me know further.Regards,
MaheshDecember 7, 2016 at 10:47 am in reply to: How can I change the position of the mobile menu in Catch Responsive pro #104740Mahesh
Participant@zhpvwebmaster: Thank you for your appreciation. Have a nice day!
Regards,
MaheshMahesh
Participant@roman06: Its kinda strange issue you are having. I tested the same on our sever and no such issue of Same title for the sliders. Are you using any plugins? if yes try disabling it and see if that resolves the issue. Let me know further.
*not to show content on the feature page sliders?
Go to Dashboard=> Appearance=> Customize=> Additional CSS box and add the following CSS:#feature-slider .entry-content { display: none; }Regards,
MaheshMahesh
Participant@adobosm; Thank you. I just checked your site.
1- When I use Jetpack, in the mobile responsive design disappear the “menu”.
-> Have you resolved it. The menu seems to be working fine.
2- I would like to see responsive design for differents screens (wide one), but responsive design looks narrow.
-> Can you please clarify more on this.Regards,
MaheshMahesh
Participant@jorgecsanz: We’ll contact you through email shortly.
Regards,
Mahesh -
AuthorPosts
