Forum Replies Created
-
AuthorPosts
-
July 21, 2017 at 7:27 am in reply to: Menu in the header ? inserting an image between main menu and secondary menu ? #119427
Mahesh
Participant@infonet: For this, you’ll need to create child theme. You can find more about creating child theme HERE. Then in your child theme’s
functions.php
, add the following code.function catchbox_main_header_image_position() { // Getting data from Theme Options $options = catchbox_get_options(); $position = $options['header_image_position']; if ( 'above' == $position ) { add_action( 'catchbox_child_after_primary_menu', 'catchbox_main_header_image', 10 ); } elseif ( 'below' == $position ) { add_action( 'catchbox_after_headercontent', 'catchbox_main_header_image', 10 ); } } function catchbox_header_menu() { //Getting Ready to load options data $options = catchbox_get_options(); $classes = "mobile-menu-anchor page-menu"; // Header Left Mobile Menu Anchor if ( has_nav_menu( 'primary' ) ) { $classes = "mobile-menu-anchor primary-menu"; } ?> <div class="menu-access-wrap mobile-header-menu clearfix"> <?php if ( empty ($options['disable_responsive'] ) ) { ?> <div id="mobile-header-left-menu" class="<?php echo $classes; ?>"> <?php $hide_mobile_menu_labels = isset( $options['hide_mobile_menu_labels'] ) ? $options['hide_mobile_menu_labels'] : 0; $label = isset( $options['primary_mobile_menu_label'] ) ? $options['primary_mobile_menu_label'] : esc_html__( 'Menu', 'catch-box-pro' ); $labelclass = "mobile-menu-text"; if ( !empty ( $hide_mobile_menu_labels ) ) { $labelclass = "screen-reader-text"; } ?> <a href="#mobile-header-left-nav" id="menu-toggle-primary" class="genericon genericon-menu"> <span class="<?php echo esc_attr( $labelclass ); ?>"><?php echo esc_attr( $label ); ?></span> </a> </div><!-- #mobile-header-left-menu --> <?php if ( !empty ($options['enable_sec_menu'] ) && has_nav_menu( 'secondary', 'catch-box-pro' ) ) : $menuclass = "mobile-enable"; ?> <div id="mobile-header-right-menu" class="mobile-menu-anchor secondary-menu"> <?php $hide_mobile_menu_labels = isset( $options['hide_mobile_menu_labels'] ) ? $options['hide_mobile_menu_labels'] : 0; $label = isset( $options['secondary_mobile_menu_label'] ) ? $options['secondary_mobile_menu_label'] : esc_html__( 'Secondary Menu', 'catch-box-pro' ); $labelclass = "mobile-menu-text"; if ( !empty ( $hide_mobile_menu_labels ) ) { $labelclass = "screen-reader-text"; } ?> <a href="#mobile-header-right-nav" id="menu-toggle-secondary" class="genericon genericon-menu"> <span class="<?php echo $labelclass; ?>"><?php echo esc_attr( $label ); ?></span> </a> </div><!-- #mobile-header-right-menu --> <?php else : $menuclass = "mobile-disable"; endif; ?> <?php } ?> <div id="site-header-menu-primary" class="site-header-menu"> <nav id="access" class="main-navigation menu-focus" role="navigation" aria-label="<?php esc_attr_e( 'Primary Menu', 'catch-box-pro' ); ?>"> <h3 class="screen-reader-text"><?php _e( 'Primary menu', 'catch-box-pro' ); ?></h3> <?php if ( has_nav_menu( 'primary', 'catch-box-pro' ) ) { $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 --> </div><!-- .site-header-menu --> <?php do_action( 'catchbox_child_after_primary_menu' ); ?> <?php if ( has_nav_menu( 'secondary' ) ) { ?> <div id="site-header-menu-secondary" class="site-header-menu"> <nav id="access-secondary" class="<?php echo $menuclass; ?>" role="navigation" aria-label="<?php esc_attr_e( 'Secondary Menu', 'catch-box-pro' ); ?>"> <h3 class="screen-reader-text"><?php _e( 'Secondary menu', 'catch-box-pro' ); ?></h3> <?php wp_nav_menu( array( 'theme_location' => 'secondary', 'container_class' => 'menu-secondary-container' ) ); ?> </nav><!-- #access-secondary --> </div><!-- .site-header-menu --> <?php } ?> </div><!-- .menu-access-wrap --> <?php } function catchbox_child_remove_header_action(){ remove_action( 'catchbox_before_headercontent', 'catchbox_main_header_image', 10 ); } add_action( 'init', 'catchbox_child_remove_header_action' );
Note: Please make sure “Above Header Content” is selected in Header Image Location
Regards,
MaheshMahesh
Participant@dbatty: The magnifying glass seems to be hidden because you’ve changed the navigation bar background to white. The default color of search icon is also white so it blends in and difficult to see. Go to Dashboard=> Appearance=> Customize= Additional CSS and add the following CSS.
#search-toggle { color: #000; }
We have made the theme as simple as possible so the user finds it easy to use and customize as necessary through Customizer. But if you go through coding and you are not much familiar with programming, well it will obviously be difficult. We do provide help and support for customization within theme support scope. But if you need further customization beyond theme support scope, I recommend you to hire a customizer.
Regards,
MaheshMahesh
Participant@bjbarker: Go to Dashboard=> Appearance=> Customize=> Theme Options=> Footer Editor Options and edit Footer Right Content. Put the following text:
<a href="your_site_url">Site Name</a>
Note: Please replace site url and site name with appropriate one.
Regards,
MaheshMahesh
Participant@dbatty: Please post in your site url. Let us know what difficulties are you facing with Catch Themes websites so that we can help you further.
Regards,
MaheshMahesh
Participant@ohlyanshweta: This support forum is only for theme and plugins by Catch Themes. Please contact the respective forum.
Regards,
MaheshMahesh
Participant@bjbarker: Sorry for the late reply. Thank you for using Catch Adaptive Pro. How may I help you? Please let me know.
Regards,
MaheshMahesh
Participant@daniel98: Just checked your site, most of the images in the media library seems to be broken please upload the image and try again. Let me know if the problem persists.
Regards,
MaheshMahesh
Participant@mmarvel54: May be the issue is because of caching. Let me know if any problem.
Regards,
MaheshMahesh
Participant@daniel98: Hi Daniel, I’ve mailed you on your email the one you’ve registered with.
(daniel*****[email protected]) this is the mail address I’ve sent email to.Regards,
MaheshMahesh
Participant@mmarvel54: Please post in your site url.
Regards,
MaheshMahesh
Participant@myriam: For this you’ll need to create a child theme. You can find more on creating child theme HERE. Then in you child theme’s
functions.php
, add the following code:function catchresponsive_child_remove_fitvid(){ wp_dequeue_script( 'jquery-fitvids' ); } add_action( 'wp_print_scripts', 'catchresponsive_child_remove_fitvid' );
Then use the embeded youtube code and use custom size youtube videos.
Let me know if any problem.Regards,
MaheshMahesh
Participant@vatrailrider: Really sorry about that. Hope I make the things clear here for the updates and subscription.
Once you purchase the theme, its yours for the lifetime and you can use it to as many site as you’ve owned without any third party involvement. And you’ll get regular updates of one year. As one year subscription ends, you can continue using the theme, the only thing is that you won’t be receiving further updates. For updates you’ll need to subscribe again. You can skip years in-between for example: buy a theme, then you can skip 2 years (with no updates) then on third year you can subscribe again.
Hope you understand.
Let me know if any problem.Regards,
MaheshMahesh
Participant@jessolo: I hope I was able to resolve your issue. Would you mind taking a few minutes to write a review for me please?
https://wordpress.org/support/theme/adventurous/reviews/#new-post
I’d really love to know what you think of my support. Your feedback is deeply valued as it will help potential clients read about your experience and also help me improve.
Thank you so much for your help!Regards,
MaheshMahesh
Participant@daniel98: We’ll need to check on your server to check the issue. We’ll contact you through an email shortly. Thank you for your patience.
Regards
MaheshMahesh
Participant@jcmoch: Just checked your site and the background color on menu is working fine, its changing to black when scrolling. Please check the image in the link below.
* before scroll: http://bit.ly/2unQETb
* after scroll: http://bit.ly/2uIuUkqLet me know if any problem.
Regards,
MaheshMahesh
Participant@pete-guttenberggmail-com: I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
https://wordpress.org/support/theme/catch-responsive/reviews/#new-post
Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated.
Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know.Regards,
MaheshMahesh
Participant@pete-guttenberggmail-com: Add the following CSS:
.catchresponsive-nav-menu { display: table; width: 100%; } .catchresponsive-nav-menu > li { display: table-cell; float: none; } .catchresponsive-nav-menu > li > a { display: block; text-align: center; } /* Hides Search Button */ #search-toggle { display: none; }
Regards,
MaheshMahesh
Participant@jessolo: Hi, I’ve just fixed the issue of post not appearing on homepage, please check.
Let me know if any problem.Regards,
MaheshMahesh
Participant@nicolaslhtr: I’ll skip this one as I’ve answered this on the other thread.
https://catchthemes.com/support-forum/topic/overlay-text-on-page-image/#post-118250Regards,
Mahesh -
AuthorPosts