Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter rbfly

    (@rbfly)

    thanks for the quick reply.

    Hi,
    if you use firefox, you have firebug you can see which css control links. I have my links (not all) changed the css style:
    a{
    color: rgb(38, 101,172);
    }
    #content ul a {
    color: rgb(38, 101, 172);
    }

    Thread Starter rbfly

    (@rbfly)

    hello again πŸ™‚
    I have solved the problem so I moved the title with CSS rule

    # site-title {
    position: absolute;
    left: 10000px;
    }

    I do not know if there are good ways and will work on any browser, but right now firefox is OK.
    Thanks for help

    Thread Starter rbfly

    (@rbfly)

    I found the problem.
    My website’s logo is jpg. image instead title written with words. When I write the title in the “Settings – title for the website”, then shows the web page name correctly. Now I hope I can be with the new CSS rule to hide title.
    Anyone who might have any suggestions how I can write my own css? πŸ™‚

    Thread Starter rbfly

    (@rbfly)

    hey,
    thanks for the help. can you describe where exactly have you written code?
    Is it in the header.php or header-extensions.php?
    Regards

    Thread Starter rbfly

    (@rbfly)

    hi,
    thanks for the help!
    a step forward. πŸ™‚
    It now remains only link to remove.
    After I searched the web for solutions, I got the idee to change the header extenstion.php original theme. Not in the child theme functions. I’ll try later.

    Thread Starter rbfly

    (@rbfly)

    no problem, thanks anyway.
    Regards

    Thread Starter rbfly

    (@rbfly)

    hi,
    adress to my website is http://www.rbflyfishing.com.
    I do not understand what you mean?
    It is on the beginning of the function, but would I not change it to make it function to the child theme?

    <?php
    /****************************************************************************************/
    
    if ( ! function_exists( 'cleanretina_featured_post_slider' ) ) :
    /**
     * display featured post slider
     *
     * @uses set_transient and delete_transient
     */
    function cleanretina_featured_post_slider() {
    	global $post;
    
    	global $cleanretina_theme_options_settings;
       $options = $cleanretina_theme_options_settings;
    
    	$cleanretina_featured_post_slider = '';
    	if( ( !$cleanretina_featured_post_slider = get_transient( 'cleanretina_featured_post_slider' ) ) && !empty( $options[ 'featured_post_slider' ] ) ) {
    
    		$cleanretina_featured_post_slider .= '
    		<section class="featured-slider"><div class="slider-wrap"><div class="slider-cycle">';
    			$get_featured_posts = new WP_Query( array(
    				'posts_per_page' 			=> $options[ 'slider_quantity' ],
    				'post_type'					=> array( 'post', 'page' ),
    				'post__in'		 			=> $options[ 'featured_post_slider' ],
    				'orderby' 		 			=> 'post__in',
    				'ignore_sticky_posts' 	=> 1 						// ignore sticky posts
    			));
    			$i=0; while ( $get_featured_posts->have_posts()) : $get_featured_posts->the_post(); $i++;
    				$title_attribute = apply_filters( 'the_title', get_the_title( $post->ID ) );
    				$excerpt = get_the_excerpt();
    				if ( 1 == $i ) { $classes = "slides displayblock"; } else { $classes = "slides displaynone"; }
    				$cleanretina_featured_post_slider .= '
    				<div class="'.$classes.'">';
    						if( has_post_thumbnail() ) {
    
    							$cleanretina_featured_post_slider .= '<figure><a title="'.the_title('','',false).'">';</a>
    
    							$cleanretina_featured_post_slider .= get_the_post_thumbnail( $post->ID, 'slider', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class'	=> 'pngfix' ) ).'</figure>';
    						}
    						if( $title_attribute != '' || $excerpt !='' ) {
    						$cleanretina_featured_post_slider .= '
    							<article class="featured-text">';
    							if( $title_attribute !='' ) {
    									$cleanretina_featured_post_slider .= the_title( '<span>','</span>', false ).$excerpt;
    								}
    						$cleanretina_featured_post_slider .= '
    							</article><!-- .featured-text -->';
    						}
    				$cleanretina_featured_post_slider .= '
    				</div><!-- .slides -->';
    			endwhile; wp_reset_query();
    		$cleanretina_featured_post_slider .= '</div></div>
    		<nav id="controllers" class="clearfix">
    		</nav><!-- #controllers --></section><!-- .featured-slider -->';
    
    	set_transient( 'cleanretina_featured_post_slider', $cleanretina_featured_post_slider, 86940 );
    	}
    	echo $cleanretina_featured_post_slider;
    }
    endif;
    
    /****************************************************************************************/
    <?

    [Moderator note: Please wrap all code in backticks]

    Thread Starter rbfly

    (@rbfly)

    hi,
    it is so described in the legend
    “Then go to structure-> header extenstion.php and copyrights this function
    cleanretina_featured_post_slider. Create functions.php in your child theme and paste the above function. Then just replace this line …” Therefore I created new functions.php and done that which is written in the thread. Is it wrong done?
    Regards

    Thread Starter rbfly

    (@rbfly)

    HI,
    yes i found it and have been copied into a new functions.php file. Then change the two lines that are described in the thread “Clean Retina – [resolved] Slider”. But online, it will not change. I make “Empty cash”, but it will be the same. I know that you must specify in functions.php “remove_function” and “add_funktion” but I do not know how.
    Any suggestions?
    Regards

Viewing 10 replies - 1 through 10 (of 10 total)