Home Forums Theme support Tammoo & All Slider

This topic contains 3 replies, has 2 voices, and was last updated by  7Theme Support 4 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Hello,

    have some trouble with the all slider. Seems, the slider doesn’t resize correctly. On a smart phone’s screen, I only just see a part of the slider’s image width, but the image takes the full height. (slider type circle –> image moves from left to right).

    Watched the tammoo theme at your demo site and saw the same behaviour

    Think the slider type cannot be displayed in another way. Correct? So I saw at the glitter theme (). In smart phone mode, it scaled down the images well. But it seems to be another slider type. Images were changing with a fede effect (and do not move from left to right)

    ==> Tried to change slider type into “mapslider”, but I just saw for longer than two minutes a “rotating circle” (/wp-content/themes/tammoo/images/wait.gif). Mapslider does not work. I also made an update to ensure the latest version of tammoo is running.

    Hope you have any ideas.

    Thanks
    Martin

    Hi,

    yes, in Tammoo it will not adapt to the screen size, because there is the sliding effect from left to right. Also with the MapSlider you’ll have this problem, because it’s also a slider that move the images / slides.

    Hi & thanks,

    … what do you recommend to get a “full responsive” slider like in the “Glitter” theme? Do I need another slider (plugin). But therefore, I need a new/modified header.php. Just opened this file (with a lot of php-Code). There are many lines of code conerning the slider. Is there a hint, which lines are ready to delete, if I set up (and use) another slider instad of the “all slider”? In other word: Which parts of the header file belong to the all slider

    —– header.php ——

    
    <!DOCTYPE html>
    <?php
    if(!is_404() AND isset($post))
    	{ 
    	$custom = get_post_custom($post->ID);  
    	}
    	else
    		{
    		$custom="";
    		}
    ?>
    <html <?php language_attributes(); ?>>
    <head>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
    <title><?php wp_title(''); ?></title>
    <link rel="shortcut icon" href="<?php echo load_option("favicon"); ?>" type="image/x-icon">
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php //wp_get_archives('type=monthly&format=link'); ?><?php // this function will be produce an Validation Error. You can uncomment if you want! ?>
    <?php //comments_popup_script(); // off by default ?>
    <!--[if lt IE 9]>
    <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?> > 
    <div id="cbackground">
    </div>
    <div id="container">
    	<?php if(load_option("show_overheader")!="false")
    		{
    		?>
    		<section id="overheader">
    			<div class="inner">
    				<?php echo do_shortcode(stripslashes(load_option("overhead_content"))); ?>
    			</div>
    		</section>
    		<?php
    		}
    	?>
    	<section id="page" class="page">
    		<header id="headline" class="transition04 <?php echo sevenleague_header_class(); ?>"> 
    			<div id="headmenu">
    				<div id="nav_gradient">
    					<div id="navline_wrap">
    						<div id="nav" class="page">
    							<div class="inner">
    								<div id="brand" class="transition04">
    									<a href="<?php echo home_url(); ?>">
    										<?php echo load_logo(); ?>
    									</a>
    								</div>	
    								<div id="navleft" class="transition04 <?php if(load_option("anim_menu")=="on") { echo "anim-menu"; } ?>">
    									<?php
    									if(has_nav_menu('main_menu_1'))
    										{
    										$walker = new Menu_With_Description;  									
    										wp_nav_menu( array('container'=> 'nav', 'walker'=>$walker ,'fallback_cb' => 'wp_page_menu', 'theme_location' => 'main_menu_1','menu_id'=>'menu', 'menu_class'=>'main-menu main-menu-1 sf-menu sf-js-enabled sf-shadow')    ); 
    										}
    										else 
    											{
    											echo "<div class='alert alert_red'>PLEASE DEFINE A MENU</div>"; //wp_page_menu(array('menu_class'  => 'main-menu main-menu-1 sf-menu sf-js-enabled sf-shadow')); //wp_list_pages();
    											}
    									?>
    								</div> 
    								<div class="clear"></div>						
    							</div>
    						</div>
    					</div>
    				</div>
    			</div>
    		</header> 
    		<?php if(  (isset($custom["slider_type"][0])) AND ($custom["slider_type"][0]=="Mapslider") )
    			{
    			get_template_part("slider_mapr");
    			}
    		if(  (isset($custom["slider_type"][0])) AND ($custom["slider_type"][0]=="Flexslider") )
    			{
    			get_template_part("slider_flexslider");
    			}
    		if(  (isset($custom["slider_type"][0])) AND ($custom["slider_type"][0]=="Elasticslider") )
    			{
    			get_template_part("slider_elastic");
    			}
    		if(  (isset($custom["slider_type"][0])) AND ($custom["slider_type"][0]=="Cycle") )
    			{
    			get_template_part("slider_cycle");
    			}
    		if(  (isset($custom["slider_type"][0])) AND ($custom["slider_type"][0]=="Sly-Slider") )
    			{
    			get_template_part("slider_sly");
    			}
    		if(  (isset($custom["slider_type"][0])) AND ($custom["slider_type"][0]=="Featured-image") )
    			{
    			get_template_part("slider_image");
    			}
    		if(  (isset($custom["slider_type"][0])) AND ($custom["slider_type"][0]=="Smooth-Slider") )
    			{
    			get_template_part("slider_smooth");
    			}
    		if(  (isset($custom["slider_type"][0])) AND ($custom["slider_type"][0]=="Video") )
    			{
    			get_template_part("slider_video");
    			}
    		?>
    		<?php if(isset($custom['show_headline'][0]) AND $custom['show_headline'][0]=='on') { ?>
    			<section id="head_line" class="<?php echo sevenleague_headline_section_class(); ?>">  
    				<div class="inner">
    					<h1><?php echo get_the_title(); ?></h1>
    					<?php echo sevenleague_second_headline(); ?>
    				<div class="clear"></div> 
    				</div>
    			</section> 
    		<?php } ?>
    		<div class="mainsection">
    			<div class="inner">
    
    

    Hi,

    all lines from:

    <?php if( (isset($custom["slider_type"][0])) AND ($custom["slider_type"][0]=="Mapslider") )

    to

    		if(  (isset($custom["slider_type"][0])) AND ($custom["slider_type"][0]=="Video") )
    			{
    			get_template_part("slider_video");
    			}
    		?>

    belongs to the allslider. If you want, you can remove these lines and place another function there. For the slider: there are many plugins out there, you can search on WordPress.org for another slider plugin.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.