Forum Replies Created

Viewing 20 posts - 4,001 through 4,020 (of 14,497 total)
  • Author
    Posts
  • in reply to: Can't increase $content_width in child theme #56398
    Sakin
    Keymaster

    @name: Thanks for your appreciation and if you like Catch Base theme and support that I provided you. Please provide your valuable review and rating at https://wordpress.org/support/view/theme-reviews/catch-base?rate=5#postform. Thanks 🙂

    in reply to: Can't increase $content_width in child theme #56379
    Sakin
    Keymaster

    @name: Yes, as you are using No Sidebar, Content Width layout. Yes, you don’t need to change global content_width variable. You need to add the above code catchbase_content_width() which I gave you. There in that functions, I just change width for No Sidebar, Content Layout. The following code is extra in that function:

    if ( $layout == 'no-sidebar' || ( $layout=='default' && $themeoption_layout == 'no-sidebar' ) ) {
    		$content_width = 920;
    	}
    in reply to: Intro Page and some other questions… #56378
    Sakin
    Keymaster

    @Sebastian: Ok for that you can simply add the following css in “Appearance => Customize => Theme Options => Custom CSS Options” box:

    .page-id-158 .site {
        padding-top: 0;
    }
    .page-id-158 #fixed-header,
    .page-id-158 #masthead {
        display: none;
    }
    in reply to: Home Page Load Problem #56377
    Sakin
    Keymaster

    @Denys: Thanks for your access and cooperation. I check in your site and found that you have large image as background image and also 8 slider image which was making your site heavy and the slider code checks height after the slider is fully loaded. So, it take time to clear the height. So, I need to set data-cycle-loader="true" which will start slider after 2 images is loaded in slider. Then I see that you were using child theme. So, I simply added in the following code in your child theme functions.php file.

    /**
     * Add slider.
     *
     * @uses action hook catchbase_before_content.
     *
     * @since Catch Base 1.0
     */
    function catchbase_featured_slider() {
    	global $post, $wp_query;
    	//catchbase_flush_transients();
    	// get data value from options
    	$options 		= catchbase_get_theme_options();
    	$enableslider 	= $options['featured_slider_option'];
    	$sliderselect 	= $options['featured_slider_type'];
    
    	// Get Page ID outside Loop
    	$page_id = $wp_query->get_queried_object_id();
    
    	// Front page displays in Reading Settings
    	$page_on_front = get_option('page_on_front') ;
    	$page_for_posts = get_option('page_for_posts'); 
     
    	if ( $enableslider == 'entire-site' || ( ( is_front_page() || ( is_home() && $page_for_posts != $page_id ) ) && $enableslider == 'homepage' ) ) {
    		if( ( !$catchbase_featured_slider = get_transient( 'catchbase_featured_slider' ) ) ) {
    			echo '<!-- refreshing cache -->';
    		
    			$catchbase_featured_slider = '
    				<section id="feature-slider">
    					<div class="wrapper">
    						<div class="cycle-slideshow" 
    						    data-cycle-log="false"
    						    data-cycle-pause-on-hover="true"
    						    data-cycle-swipe="true"
    						    data-cycle-loader="true"
    						    data-cycle-auto-height=container
    						    data-cycle-fx="'. $options['featured_slide_transition_effect'] .'"
    							data-cycle-speed="'. $options['featured_slide_transition_length'] * 1000 .'"
    							data-cycle-timeout="'. $options['featured_slide_transition_delay'] * 1000 .'"
    							data-cycle-slides="> article"
    							>
    						    
    						    <!-- prev/next links -->
    						    <div class="cycle-prev"></div>
    						    <div class="cycle-next"></div>
    
    						    <!-- empty element for pager links -->
    	    					<div class="cycle-pager"></div>';
    
    							// Select Slider
    							if ( $sliderselect == 'demo-featured-slider' && function_exists( 'catchbase_demo_slider' ) ) {
    								$catchbase_featured_slider .=  catchbase_demo_slider( $options );
    							}
    							else if ( $sliderselect == 'featured-post-slider' && function_exists( 'catchbase_post_slider' ) ) {
    								$catchbase_featured_slider .=  catchbase_post_slider( $options );
    							}
    							elseif ( $sliderselect == 'featured-page-slider' && function_exists( 'catchbase_page_slider' ) ) {
    								$catchbase_featured_slider .=  catchbase_page_slider( $options );
    							}
    							elseif ( $sliderselect == 'featured-category-slider' && function_exists( 'catchbase_category_slider' ) ) {
    								$catchbase_featured_slider .=  catchbase_category_slider( $options );
    							}
    							elseif ( $sliderselect == 'featured-image-slider' && function_exists( 'catchbase_image_slider' ) ) {
    								$catchbase_featured_slider .=  catchbase_image_slider( $options );
    							}
    
    			$catchbase_featured_slider .= '
    						</div><!-- .cycle-slideshow -->
    					</div><!-- .wrapper -->
    				</section><!-- #feature-slider -->';
    			
    			set_transient( 'catchbase_featured_slider', $catchbase_featured_slider, 86940 );
    		}
    		echo $catchbase_featured_slider;
    	}
    }

    Note: for child theme and sample child theme you can refer to http://catchthemes.com/blog/create-child-theme-wordpress/

    in reply to: Simple Catch Pro – Full Width Template #56368
    Sakin
    Keymaster

    Hello Lisa,

    Ok then try adding in the following css in “Appearance => Theme Options => Custom CSS” box:

    .events-archive #primary {
        margin-left: 0;
        width: 100%;
    }

    Regards,
    Sakin

    in reply to: media query in child theme #56367
    Sakin
    Keymaster

    @cblossants: I don’t see #gallery_mobile in your site. Can you let me know what are you trying to do it.

    in reply to: Logo & Titles #56366
    Sakin
    Keymaster

    @bigoslesli: It should be log first and then title. If this is not happening then check your settings at “Appearance => Theme Options => Header Options => Move Site Title and Tagline”.

    in reply to: Home Page Load Problem #56365
    Sakin
    Keymaster

    @Denys: I will not be able to access your site without being live. Ok I will send you email.

    in reply to: Remove Title and Excerpt on Featured Slider #56364
    Sakin
    Keymaster

    @knudkp: I don’t know what are you trying to do. That is for slider container.

    in reply to: Menu color #56362
    Sakin
    Keymaster

    @eckh20: You are using Catch Responsive free theme and it doesn’t have color option for menu to change it. You are posting it in Catch Responsive Pro theme support forum where as for Catch Responsive free you need to post in http://catchthemes.com/support-forum/forum/catch-responsive-free/

    For free version, you can add the following css in “Appearance => Customize => Theme Options => Custom CSS Options” box:

    .nav-primary { background-color: #366488; }
    .catchresponsive-nav-menu li a:hover,
    .catchresponsive-nav-menu li a:focus {
    	background-color: #fff;
    	color: #366488;
    }
    .catchresponsive-nav-menu li:hover > a  {
    	background-color: #fff;
    	color: #366488;
    }
    .catchresponsive-nav-menu .current-menu-item > a, 
    .catchresponsive-nav-menu .current-menu-ancestor > a {
    	background-color: #fff;
    	color: #366488;
    }
    .catchresponsive-nav-menu .sub-menu li a:hover,
    .catchresponsive-nav-menu .sub-menu li a:focus {
    	background-color: #366488;
    	color: #fff;
    }
    in reply to: Change font color off the post titles #56361
    Sakin
    Keymaster

    @JDC: For category page title, you can add the following css:
    .page-header .page-title { color: #604187}

    I don’t know how to explain difference. It’s totally different elements.
    .entry-header is for header element
    .widget-title is for widget title
    .entry-title if for page/post title

    where as
    .entry-title, .entry-title a is for page/post title with link or without link

    in reply to: Responsive not working #56359
    Sakin
    Keymaster

    @Dona: You have added in wrong CSS. I told you to add in

    @media screen and (max-width: 767px) {
        .page-id-277 #content .alignleft {
            display: block;
            float: none;
            margin: 0 auto;
            max-width: 217px;
            width: 100%;
        }
    }

    But why did you add in with image:

    @media screen and (max-width: 767px) {
        .page-id-277 http://higherhealthllc.com/wp-content/uploads/2015/03/productsbackground-copy.png .alignleft {
            display: block;
            float: none;
            margin: 0 auto;
            max-width: 217px;
            width: 100%;
        }
    }
    in reply to: Home Page Load Problem #56357
    Sakin
    Keymaster

    @Denys: First please send me your site URL then I can check in and if needed I will ask for login. Also can you check in demo site and see if it works fine or not.

    in reply to: Archive Content Layout – not available #56355
    Sakin
    Keymaster

    @Julia: Oh that Archive Content layout is only for Archive like Category, tag and so on. It’s not for page. You can change that from “Appearance => Theme Options => Layout Options => Archive Content Layout”.

    About your blog page post. I need to check in your site and then find out the issue. I am bit lost. So, I will email you.

    in reply to: No post except thumbnails on category/archive pages #56354
    Sakin
    Keymaster

    @Julia: You can see it’s showing in your blog http://julesferne.com/category/all-adventure-files/

    in reply to: Insert media at new message #56353
    Sakin
    Keymaster

    @fcourtois: It’s strange as it’s working fine in our server with Gridalicious 1.0. So, I might need to check in your site. I will email you personally.

    in reply to: Blog page set up #56352
    Sakin
    Keymaster

    @lorencowka:
    1. Sorry, this falls under plugin Territory. So, you need to search for plugin to do that.
    2. This I am not sure what you mean. We can try Jetpack plugin comment form if you are talking about form to be shorten. It will be like this http://jetpack.me/support/comments/

    in reply to: I think I just broke the page :D #56351
    Sakin
    Keymaster

    @Reitsel: It shouldn’t be a theme issue. Looks like there is something with plugin. Try manually resetting your plugins (no Dashboard access required). See this https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F That should allow you to access your Dashboard again. If so, reactivate each plugin individually until you identify the one causing the problem.

    in reply to: Primary & Secondary widths not working responsive #56347
    Sakin
    Keymaster

    @penny: Replace that css with the following css in “Appearance => Theme Options => Custom CSS” box:

    @media screen and (min-width: 961px) {
        #primary { width: 585px; }
        #secondary {width: 250px;}
    }
    @media screen and (min-width: 991px) {
        #primary {width: 635px;}
    }
    @media screen and (min-width: 1025px) {
        #primary {width: 660px;}
    }
    in reply to: Can't increase $content_width in child theme #56345
    Sakin
    Keymaster

    @name:
    1. For child theme and sample Catch Base child theme, you can download it from http://catchthemes.com/blog/create-child-theme-wordpress/.

    2. Then add the following code in your child theme functions.php file

    /**
     * Loading Content Width
     */
    function catchbase_content_width() {
    	global $post, $wp_query, $content_width;
    
    	//Getting Ready to load options data
    	$options					= catchbase_get_theme_options();
    	
    	$themeoption_layout 		= $options['theme_layout'];
    	
    	// Front page displays in Reading Settings
    	$page_on_front = get_option('page_on_front') ;
    	$page_for_posts = get_option('page_for_posts');
    
    	// Get Page ID outside Loop
    	$page_id = $wp_query->get_queried_object_id();
    
    	// Blog Page or Front Page setting in Reading Settings
    	if ( $page_id == $page_for_posts || $page_id == $page_on_front ) {
            $layout 		= get_post_meta( $page_id,'catchbase-layout-option', true );
        }
    	elseif ( is_singular() ) {
     		if ( is_attachment() ) { 
    			$parent = $post->post_parent;
    			
    			$layout = get_post_meta( $parent,'catchbase-layout-option', true );
    		} 
    		else {
    			$layout = get_post_meta( $post->ID,'catchbase-layout-option', true ); 
    		}
    	}
    	else {
    		$layout='default';
    	}
    
    	//check empty and load default
    	if( empty( $layout ) ) {
    		$layout = 'default';
    	}
    
    	if ( $layout == 'no-sidebar' || ( $layout=='default' && $themeoption_layout == 'no-sidebar' ) ) {
    		$content_width = 920;
    	}
    	elseif ( $layout == 'right-sidebar' || $layout == 'left-sidebar' || ( $layout=='default' && $themeoption_layout == 'right-sidebar' ) || ( $layout=='default' && $themeoption_layout == 'left-sidebar' ) ) {
    		$content_width = 780;
    	}	
    }

    Then add the following css in your child theme style.css

    @media screen and (min-width: 940px) {
    	.no-sidebar.content-width #main {
    		width: 920px;
    	}
    }
Viewing 20 posts - 4,001 through 4,020 (of 14,497 total)