Help for Header script
-
I am helping a church out with a website, and I honestly am no good when it comes to any code beyond html and maybe some very basic javascript. I have been playing around with your plugin, and I did manage to insert the code into the header (through editing the theme’s header scripts), but the slideshow is not flush with the top of the page, and there is a nice little gap between the bottom of the show and the controls. The site is live for now, you can see it here…
https://renewedchristianfellowship.com/
As a bonus, if anyone knows how to fix the red stripe at the top that won’t seem to expand to fit the header text, I’m all ears!!!
Here is the code I’m working with:
<?php /** * Title: Header template. * * Description: Defines header content. * * Please do not edit this file. This file is part of the Cyber Chimps Framework and all modifications * should be made in a child theme. * * @category Cyber Chimps Framework * @package Framework * @since 1.0 * @author CyberChimps * @license https://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later) * @link https://www.cyberchimps.com/ */ ?> <!DOCTYPE html> <!--[if lt IE 7]> <html class="ie ie6 lte9 lte8 lte7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 7]> <html class="ie ie7 lte9 lte8 lte7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html class="ie ie8 lte9 lte8" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 9]> <html class="ie ie9" <?php language_attributes(); ?>> <![endif]--> <!--[if gt IE 9]> <html <?php language_attributes(); ?>> <![endif]--> <!--[if !IE]><!--> <html <?php language_attributes(); ?>> <!--<![endif]--> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name="viewport" content="initial-scale=1.0; maximum-scale=3.0; width=device-width" /> <title><?php wp_title(''); ?></title> <link rel="profile" href="https://gmpg.org/xfn/11" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <!-- IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script src="<?php echo get_template_directory_uri(); ?>/inc/js/html5.js" type="text/javascript"></script> <![endif]--> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div class="full-width-container header-full-width"> <div class="headerslider"> <?php echo do_shortcode('[sp_responsiveslider limit="-1"]'); ?></div> <div class="header-image-banner"></div><!-- banner --> <div class="header-container"> <div class="container"> <?php do_action('cyberchimps_before_wrapper'); ?> <div class="container-fluid"> <div id="header_nav_container"> <div class="row-fluid"> <div class="span4"> <?php cyberchimps_header_logo(); ?> </div><!-- span4 --> <div class="span8"> <?php do_action('cyberchimps_before_navigation'); ?> <nav id="navigation" class="row-fluid" role="navigation"> <div class="main-navigation navbar"> <div class="navbar-inner"> <div class="container"> <?php /* hide collapsing menu if not responsive */ if( cyberchimps_get_option( 'responsive_design', 'checked' ) ): ?> <div class="nav-collapse collapse"> <?php endif; ?> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav', 'walker' => new cyberchimps_walker(), 'fallback_cb' => 'cyberchimps_fallback_menu' ) ); ?> <?php /* hide collapsing menu if not responsive */ if( cyberchimps_get_option( 'responsive_design', 'checked' ) ): ?> </div><!-- collapse --> <!-- .btn-navbar is used as the toggle for collapsed navbar content --> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <?php endif; ?> </div><!-- container --> </div><!-- .navbar-inner .row-fluid --> </div><!-- main-navigation navbar --> </nav><!-- #navigation --> <?php do_action('cyberchimps_after_navigation'); ?> </div><!-- span8 --> </div><!-- row fluid --> </div><!-- header nav container --> </div><!-- container-fluid --> </div><!-- container --> </div><!-- header container --> </div><!--container full width --> <div class="container"> <div id="wrapper" class="container-fluid">
https://www.ads-software.com/plugins/responsive-header-image-slider/
- The topic ‘Help for Header script’ is closed to new replies.