Forum Replies Created
-
AuthorPosts
-
MaheshParticipant
Hi @sparta,
I tried to check your site, but it says “Sorry, our website is under construction.”
Is there a way to check you site?Regards,
MaheshMaheshParticipantHi @andy,
If you are using Catch Box Pro, this feature is already built-in Catch Box Pro. Go to “Dashboard=> Appearance=> Customize=> Colors=> Custom Color Options” and change color for Menu Background Color to your desired color. It will change the Menu’s background color.
Are you using Custom CSS for menu background color? If yes, the above option won’t work, it will be overridden by the Custom CSS.
Let me know if any problem and post in your site url.Regards,
MaheshMaheshParticipantHi @sparta,
Do you mean demo featured slider shows the slider in front-end with small image? Or only custom image slider is showing the issue? What sizes image are you using? The recommended slider size is Width: 1680px Height: 720px.
And have you changed anything in the theme (code or Custom CSS).Regards,
MaheshMaheshParticipantHi @tivonjohnson,
The image was correct at first and changed automatically after a week? That is kind of odd. Have you made any changes to the codes afterward. May be some plugins you are using created the issue. Please try again cropping the image manually and try again.
Let me know if any problem.Regards,
MaheshMaheshParticipantMaheshParticipantHi @gk017,
No, shortcode still doesn’t work in Featured Content. But you can make it work with child theme. In child theme, you’ll need to override this function
catchbase_featured_content_display
located incatch-base-pro/inc/catchbase-featured-content.php
.Regards,
MaheshMaheshParticipantHi @Roger,
Go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS:
.home #content .wrapper { padding: 0; } .home #main .page .entry-header { display: none; } .home #main .entry-content h6 { margin-bottom: 0; }
Regards,
MaheshMaheshParticipantHi @riccrom123,
Go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS:
@font-face { font-family: "Abel"; font-style: normal; font-weight: 400; src: local("Abel"), local("Abel-Regular"), url("https://fonts.gstatic.com/s/abel/v6/_c5D7Wxu-NSk4vT8jUYrkQ.woff") format("woff"); } #header-menu ul.menu a { font-family: Abel; font-size: 15px; }
Regards,
MaheshMaheshParticipantHi @catchemall,
For this, you’ll need to create a child theme for this. You can find more details on creating child theme HERE. Then in your child theme’s
functions.php
replace all the code with the following:<?php /** * Child Theme functions and definitions * */ function theme_enqueue_styles() { wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
And replace all the CSS in child theme’s style.css with style from the following link:
https://gist.github.com/mahesh247/6e1f29dc845cecd57312Regards,
MaheshFebruary 18, 2016 at 9:28 am in reply to: Catch Box doesn't look the same on Firefox and Chrome #85694MaheshParticipantHi @spespam,
Thank you for your appreciation. If you like my support and Catch Box theme then please support by providing your valuable review and rating at https://wordpress.org/support/view/theme-reviews/catch-box?rate=5#postform
Have a nice day!Regards,
MaheshFebruary 18, 2016 at 9:18 am in reply to: Create vertical line to separate content and sidebar #85693MaheshParticipantMaheshParticipantFebruary 18, 2016 at 9:12 am in reply to: How to delete 'permalink to: + text' from featured content #85690MaheshParticipantHi @calmo16,
I assume you have created child theme and done all the changes I’ve mentioned above. Seems you are still using the parent theme. Please activate the child theme for changes.
Let me know if any issue.Regards,
MaheshMaheshParticipantHi @marga,
For that, you can add a
border: none
rule along within the code above, it will look like the following:.hentry { background-color: transparent; border: none; }
Regards,
MaheshMaheshParticipantHi @marga,
Go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS:
.hentry { background-color: transparent; }
Regards,
MaheshFebruary 17, 2016 at 4:40 pm in reply to: How to delete 'permalink to: + text' from featured content #85646MaheshParticipantHi @calmo16,
The settings are set in the transient such as cache for performance enhancement, so changing some setting(anything e.g. change color) in customizer will clear the transient. If you are still seeing the “Permalink to”, it must be because of transient. Please let me know if any problem.
Regards,
MaheshMaheshParticipantHi @calmo16,
Thank you for your appreciation.
I’ve replied you in the related thread. Please check.Regards,
MaheshFebruary 17, 2016 at 4:15 pm in reply to: How to delete 'permalink to: + text' from featured content #85643MaheshParticipantHi calmo16,
The above code was for Catch Box. Please replace it with the following for Clean Box.
function clean_box_page_slider( $options ) { $quantity = $options['featured_slider_number']; $more_link_text = $options['excerpt_more_text']; global $post; $clean_box_page_slider = ''; $number_of_page = 0; // for number of pages $page_list = array(); // list of valid page ids //Get number of valid pages for( $i = 1; $i <= $quantity; $i++ ){ if( isset ( $options['featured_slider_page_' . $i] ) && $options['featured_slider_page_' . $i] > 0 ){ $number_of_page++; $page_list = array_merge( $page_list, array( $options['featured_slider_page_' . $i] ) ); } } if ( !empty( $page_list ) && $number_of_page > 0 ) { $get_featured_posts = new WP_Query( array( 'posts_per_page' => $quantity, 'post_type' => 'page', 'post__in' => $page_list, 'orderby' => 'post__in' )); $i=0; while ( $get_featured_posts->have_posts()) : $get_featured_posts->the_post(); $i++; $title_attribute = the_title_attribute( array( 'echo' => false ) ); $excerpt = get_the_excerpt(); if ( $i == 1 ) { $classes = 'page pageid-'.$post->ID.' hentry slides displayblock'; } else { $classes = 'page pageid-'.$post->ID.' hentry slides displaynone'; } $clean_box_page_slider .= ' <article class="'.$classes.'"> <figure class="slider-image">'; if ( has_post_thumbnail() ) { $clean_box_page_slider .= '<a title="' . esc_attr( $title_attribute ) . '" href="' . get_permalink() . '"> '. get_the_post_thumbnail( $post->ID, 'clean-box-slider', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ).' </a>'; } else { //Default value if there is no first image $clean_box_image = '<img class="pngfix wp-post-image" src="'.get_template_directory_uri().'/images/gallery/no-featured-image-1680x720.jpg" >'; //Get the first image in page, returns false if there is no image $clean_box_first_image = clean_box_get_first_image( $post->ID, 'fullframe-slider', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ); //Set value of image as first image if there is an image present in the page if ( '' != $clean_box_first_image ) { $clean_box_image = $clean_box_first_image; } $clean_box_page_slider .= '<a title="' . esc_attr( $title_attribute ) . '" href="' . get_permalink() . '"> '. $clean_box_image .' </a>'; } $clean_box_page_slider .= ' </figure><!-- .slider-image --> <div class="entry-container"> <header class="entry-header"> <h1 class="entry-title"> <a title="' . esc_attr( $title_attribute ) . '" href="' . get_permalink() . '">'.the_title( '<span>','</span>', false ).'</a> </h1> <div class="assistive-text">'.clean_box_page_post_meta().'</div> </header>'; if( $excerpt !='') { $clean_box_page_slider .= '<div class="entry-content">'. $excerpt.'</div>'; } $clean_box_page_slider .= ' </div><!-- .entry-container --> </article><!-- .slides -->'; endwhile; wp_reset_query(); } return $clean_box_page_slider; }
Note: Please use child theme. If you change the core files, all your change will be lost after theme update.
If you don’t see any changes (may be because of transient), please go to customize and save change something and it will work fine.
Let me know if any problems.Regards,
MaheshMaheshParticipantHi @calmo16,
You are using Clean Box, but the thread is in Catch Box so, the above was the solution for Clean Box. 🙂
You can change hyperlink’s color in Clean Box with Custom CSS. Go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS.a { color: #00ffff; }
Note: Change the color to your desired color’s hex value.
Regards,
Mahesh -
AuthorPosts