Forum Replies Created
-
AuthorPosts
-
January 27, 2016 at 9:27 am in reply to: image in Promotion headline doesn't appear on mobile #83844
Mahesh
ParticipantHi PG,
For the mentioned issue, replace your CSS above for
#promotion-message .section
with the following CSS:#promotion-message .section { background-image: url("http://pegewebdesign.helpinghands-uk.com/wp-content/uploads/2016/01/matt-furniture-maker-logo.png") !important; background-position: center center; background-repeat: no-repeat !important; background-size: cover; }
Regards,
MaheshMahesh
ParticipantMahesh
ParticipantHi @towerlexa,
Thank you for the consideration.
Assuming you have already created the child theme. Add following codes in your child theme’sfunctions.php
.function catchresponsive_child_footer_content() { //catchresponsive_flush_transients(); if ( ( !$catchresponsive_footer_content = get_transient( 'catchresponsive_footer_content' ) ) ) { echo '<!-- refreshing cache -->'; $catchresponsive_content = catchresponsive_get_content(); $catchresponsive_footer_content = ' <div id="site-generator"> <div class="wrapper"> <div id="custom-links"> <a title="Data Link" href="#" target="_self">Data Link</a> | <a title="Cookie Link" href="#" target="_self">Cookie Link</a> | <a title="Security Link" href="#" target="_self">Security Link</a> </div> <div id="footer-content" class="copyright">' . $catchresponsive_content['left'] . ' | ' . $catchresponsive_content['right'] . '</div> </div><!-- .wrapper --> </div><!-- #site-generator -->'; set_transient( 'catchresponsive_footer_content', $catchresponsive_footer_content, 86940 ); } echo $catchresponsive_footer_content; } add_action( 'init', 'catchresponsive_child_add_links_in_footer' ); function catchresponsive_child_add_links_in_footer() { remove_action( 'catchresponsive_footer', 'catchresponsive_footer_content', 100 ); add_action( 'catchresponsive_footer', 'catchresponsive_child_footer_content', 100 ); }
Note: Please change the title and href attributes of the anchor tags to your desired title and links. If you want the link to open link in the save window/tab leave the target attribute as it is but if you want it to open in new tab, replace “_self” with “_blank”.
Regards,
MaheshMahesh
ParticipantHi @marga,
No, you do no need to create a new site, you only need to install Pro theme in you current WordPress installation then activate the theme.
Regards,
MaheshMahesh
ParticipantHi @eirini,
Please add the following CSS in “Dashboard=> Appearance=> Theme Options=> Custom CSS” box:
#header-menu ul.menu ul.sub-menu li:hover > a { background-color: #e5e5e5; }
Regards,
MaheshMahesh
ParticipantHi Baron,
Thank you for using Catch Responsive Pro.
For the above, you have to create a child theme. You can find more details on creating the child theme HERE. Then in child theme’sfunctions.php
add the following codes.function catchresponsive_entry_meta() { echo '<p class="entry-meta">'; $time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>'; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>'; } $time_string = sprintf( $time_string, esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_attr( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); printf( '<span class="posted-on">%1$s %3$s</span>', sprintf( _x( '<span class="screen-reader-text">Posted on</span>', 'Used before publish date.', 'catch-responsive' ) ), esc_url( get_permalink() ), $time_string ); if ( is_singular() || is_multi_author() ) { printf( '<span class="byline"><span class="author vcard">%1$s<a class="url fn n" href="%2$s">%3$s</a></span></span>', sprintf( _x( '<span class="screen-reader-text">Author</span>', 'Used before post author name.', 'catch-responsive' ) ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_html( get_the_author() ) ); } if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) { echo '<span class="comments-link">'; comments_popup_link( esc_html__( 'Leave a comment', 'catch-responsive' ), esc_html__( '1 Comment', 'catch-responsive' ), esc_html__( '% Comments', 'catch-responsive' ) ); echo '</span>'; } edit_post_link( esc_html__( 'Edit', 'catch-responsive' ), '<span class="edit-link">', '</span>' ); echo '</p><!-- .entry-meta -->'; }
Regards,
MaheshMahesh
ParticipantHi @husker,
It seems your page “Left Column Main Page” has the same image as the featured image in its content, that is why it is displaying two times. Please edit the page and remove the image from the content, then only one image i.e. featured image will be displayed.
Regards,
MaheshJanuary 26, 2016 at 12:32 pm in reply to: setting widgets to show horiztonal in footer instead of vertical? #83763Mahesh
ParticipantHi @fishingguy,
Wow, that’s great to know you fixed it.
Do you meant to hide all text in the slider. If so go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS:#feature-slider .entry-container { display: none; }
If you want to hide just the content text, add the following CSS instead the above.
#feature-slider .entry-content { display: none; }
Regards,
MaheshMahesh
ParticipantIt is a bug in Clean Box.
Either you have to wait for the update or for quick fix you have to create the child theme and modify some functions. You can find more details on creating child theme HERE. In child theme’s functions.php add the following codes.function clean_box_primary_menu() { $options = clean_box_get_theme_options(); ?> <div id="fixed-header-top"> <div class="wrapper"> <div id="mobile-primary-menu" class="mobile-menu-anchor fixed-primary-menu"> <a href="#mobile-primary-nav" id="primary-menu-anchor" class="genericon genericon-menu"> <span class="mobile-menu-text screen-reader-text"> <?php esc_html_e( 'Menu', 'clean-box' ); ?> </span> </a> </div><!-- #mobile-primary-menu --> <?php $logo_alt = ( '' != $options['logo_alt_text'] ) ? $options['logo_alt_text'] : get_bloginfo( 'name', 'display' ); if ( isset( $options[ 'logo_icon' ] ) && $options[ 'logo_icon' ] != '' && !empty( $options[ 'logo_icon' ] ) ){ echo '<div id="logo-icon"><a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" rel="home"> <img src="' . esc_url( $options['logo_icon'] ) . '" alt="' . esc_attr( $logo_alt ). '"> </a></div>'; } ?> <nav class="nav-primary search-enabled" role="navigation"> <h1 class="assistive-text"><?php _e( 'Primary Menu', 'clean-box' ); ?></h1> <div class="screen-reader-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'clean-box' ); ?>"><?php _e( 'Skip to content', 'clean-box' ); ?></a></div> <?php if ( has_nav_menu( 'primary' ) ) { $clean_box_primary_menu_args = array( 'theme_location' => 'primary', 'menu_class' => 'menu clean-box-nav-menu', 'container' => false ); wp_nav_menu( $clean_box_primary_menu_args ); } else { wp_page_menu( array( 'menu_class' => 'page-menu-wrap' ) ); } ?> </nav><!-- .nav-primary --> <div id="header-toggle"> <a href="#header-toggle-sidebar" class="genericon"><span class="header-toggle-text screen-reader-text"><?php _e( 'Show Header Sidebar Content', 'clean-box' ); ?></span></a> </div> <div id="header-toggle-sidebar" class="widget-area displaynone" role="complementary"> <?php if ( is_active_sidebar( 'header-toggle' ) ) { ?> <?php dynamic_sidebar( 'header-toggle' ); ?> <?php } else { ?> <section class="widget widget_search" id="header-serach"> <?php get_search_form(); ?> </section> <?php if ( '' != ( $clean_box_social_icons = clean_box_get_social_icons() ) ) { ?> <section class="widget widget_clean_box_social_icons" id="header-social-icons"> <div class="widget-wrap"> <?php echo $clean_box_social_icons; ?> </div> </section> <?php } } ?> </div><!-- #header-toggle-sidebar --> </div><!-- .wrapper --> </div><!-- #fixed-header-top --> <?php }
Regards,
MaheshMahesh
ParticipantHi @marga,
Thank you for your appreciation.
1. In Catch Base Free version, feature to change copyright text is not available, however, it is available in Catch Base Pro. I recommend you to upgrade to pro version.2. For removing link from slider, you have to create a child theme. You can find more details on creating child theme HERE. Then in
functions.php
add the following codes.function catchbase_page_slider( $options ) { $quantity = absint( $options['featured_slide_number'] ); global $post; $output = ''; $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( 'before' => __( 'Permalink to:', 'catch-base' ), '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'; } $output .= ' <article class="'.$classes.'"> <figure class="slider-image">'; if ( has_post_thumbnail() ) { $output .= get_the_post_thumbnail( $post->ID, 'catchbase_slider', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'attached-page-image' ) ); } else { //Default value if there is no first image $catchbase_image = '<img class="pngfix wp-post-image" src="'.get_template_directory_uri().'/images/gallery/no-featured-image-1200x514.jpg" >'; //Get the first image in page, returns false if there is no image $catchbase_first_image = catchbase_get_first_image( $post->ID, 'medium', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'attached-page-image' ) ); //Set value of image as first image if there is an image present in the page if ( '' != $catchbase_first_image ) { $catchbase_image = $catchbase_first_image; } $output .= $catchbase_image; } $output .= ' </figure><!-- .slider-image --> <div class="entry-container"> <header class="entry-header"> <h1 class="entry-title"> <a title="' . the_title_attribute( array( 'before' => __( 'Permalink to:', 'catch-base' ), 'echo' => false ) ) . '" href="' . get_permalink() . '">'.the_title( '<span>','</span>', false ).'</a> </h1> <div class="assistive-text">'.catchbase_page_post_meta().'</div> </header>'; if( $excerpt !='') { $output .= '<div class="entry-content">'. $excerpt.'</div>'; } $output .= ' </div><!-- .entry-container --> </article><!-- .slides -->'; } wp_reset_query(); } return $output; }
Regards,
MaheshMahesh
ParticipantHi @rflores,
In the above code I’ve given, please change
true
tofalse
so that your code will look like as follows:add_action( 'init' , 'simplecatch_child_adjust_image_size'); function simplecatch_child_adjust_image_size() { remove_image_size( 'featured'); add_image_size( 'featured', 210, 210, false); }
Then go to “Dashboard=> Tools=> Regen. Thumbnails” and click Regenerate All Thumbnails. Then check your site, it will resize the thumbnails uncropped.
For your second issue, do you mean the logo “Angelically Spoken”.
Go to “Dashboard=> Appearance=> Theme Options=> Header Options” and check Disable Header Logo? and click Save.Regards,
MaheshJanuary 26, 2016 at 10:32 am in reply to: setting widgets to show horiztonal in footer instead of vertical? #83755Mahesh
ParticipantHi @fishingguy,
I’ve just checked your site. The footer widgets seems to be aligning horizontally.
Could you clarify it more with an image.Regards,
MaheshMahesh
ParticipantMahesh
ParticipantHi @eirini,
There is an error in your Custom CSS. There is
?>
instead of}
, please fix it and the CSS will be working fine.Regards,
MaheshMahesh
ParticipantHi @eggbanana,
Please create a child theme. Check this LINK to find more details on creating child theme. Activate child theme. Then in child theme’s
functions.php
add the following codes./** * Modify Parent function to display header in Homepage and Post/Page. * */ function fullframe_featured_overall_image() { global $post, $wp_query; $options = fullframe_get_theme_options(); $defaults = fullframe_get_default_theme_options(); $enableheaderimage = $options['enable_featured_header_image']; // Get Page ID outside Loop $page_id = $wp_query->get_queried_object_id(); $page_for_posts = get_option('page_for_posts'); if ( is_home() || is_singular() ) { // Check Enable/Disable header image in Page/Post Meta box if ( is_page() || is_single() ) { //Individual Page/Post Image Setting $individual_featured_image = get_post_meta( $post->ID, 'fullframe-header-image', true ); if ( $individual_featured_image == 'disable' || ( $individual_featured_image == 'default' && $enableheaderimage == 'disable' ) ) { echo '<!-- Page/Post Disable Header Image -->'; return; } elseif ( $individual_featured_image == 'enable' && $enableheaderimage == 'disabled' ) { fullframe_featured_page_post_image(); } } // Check Homepage if ( $enableheaderimage == 'homepage' ) { if ( is_front_page() || ( is_home() && $page_for_posts != $page_id ) ) { fullframe_featured_image(); } } // Check Excluding Homepage if ( $enableheaderimage == 'exclude-home' ) { if ( is_front_page() || ( is_home() && $page_for_posts != $page_id ) ) { return false; } else { fullframe_featured_image(); } } elseif ( $enableheaderimage == 'exclude-home-page-post' ) { if ( is_front_page() || ( is_home() && $page_for_posts != $page_id ) ) { return false; } elseif ( is_page() || is_single() ) { fullframe_featured_page_post_image(); } else { fullframe_featured_image(); } } // Check Entire Site elseif ( $enableheaderimage == 'entire-site' ) { fullframe_featured_image(); } // Check Entire Site (Post/Page) elseif ( $enableheaderimage == 'entire-site-page-post' ) { if ( is_page() || is_single() ) { fullframe_featured_page_post_image(); } else { fullframe_featured_image(); } } // Check Page/Post elseif ( $enableheaderimage == 'pages-posts' ) { if ( is_page() || is_single() ) { fullframe_featured_page_post_image(); } } else { echo '<!-- Disable Header Image -->'; } } else{ return; } }
Then go to “Dashboard=> Appearance=> Customize=> Header Image” and select “Entire Site, Page/Post Featured Image” in Enable Featured Header Image on dropdown.
Regards,
MaheshMahesh
ParticipantHi @tracypost,
Sorry for the inconvenience.
The theme features in Catch Responsive and Simple Catch is little different. Catch Responsive allows you to display the slider using page’s featured image, whereas Simple Catch allows you to display the slider using post’s featured image.
The feature you’ve mentioned is available in Catch Responsive Pro. I recommend you to upgrade to Catch Responsive Pro.Regards,
MaheshMahesh
ParticipantHave you done any modifications to the theme? We checked the theme and everything working fine. We recommend you to try again with fresh WordPress installation and install the fresh copy of Simple Catch.
Let me know if the problem persists.
Regards,
MaheshMahesh
ParticipantHi @eggbanana,
This option is not available in our theme. Seems you’ve used Category Featured Image plugin, please contact Category Featured Image plugin’s support. This is out of theme support scope.
Regards,
MaheshMahesh
ParticipantHi @eirini,
Go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS:
#header-menu ul.menu ul.sub-menu a { background-color: #606060; }
Regards,
Mahesh -
AuthorPosts