Forum Replies Created

Viewing 15 replies - 46 through 60 (of 67 total)
  • Thread Starter dequecolour

    (@dequecolour)

    amazing.

    Thread Starter dequecolour

    (@dequecolour)

    do you see the icons on the right and how they are underneath the main header image? i’d really like them up higher — layered on top of the white space of my main header image. is that possible?

    i did not insert the main header image in a php file. i just uploaded through the appearances menu in the dashboard under header as a jpg.

    i did go in and add the icons to the media library as you suggested. i had them stored elsewhere online previously — sounds like only i could view them and they weren’t showing up for you.

    internalcompass.us/castle

    Thread Starter dequecolour

    (@dequecolour)

    do you think there a change i need to make in the above code from content.php to hide the excerpts of the text on my homepage, or is it located elsewhere?

    internalcompass.us/castle

    greatly appreciate it.

    Thread Starter dequecolour

    (@dequecolour)

    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section and everything up till <div id="main">
     *
     * @package WordPress
     * @subpackage Twenty_Twelve
     * @since Twenty Twelve 1.0
     */
    ?><!DOCTYPE html>
    <!--[if IE 7]>
    <html class="ie ie7" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if IE 8]>
    <html class="ie ie8" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if !(IE 7) | !(IE 8)  ]><!-->
    <html <?php language_attributes(); ?>>
    <!--<![endif]-->
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    <link rel="profile" href="https://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?>
    <!--[if lt IE 9]>
    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    <![endif]-->
    <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    <div id="page" class="hfeed site">
    	<header id="masthead" class="site-header" role="banner">
    		<hgroup>
    			<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    			<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    		</hgroup>
    
    		<?php $header_image = get_header_image();
    		if ( ! empty( $header_image ) ) : ?>
    			<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a>
    		<?php endif; ?>
            <div class="socialicons">
    
    <a href="https://www.facebook.com/travelwithacastle">
    <img src="https://gator3018.hostgator.com:2083/cpsess2599559173/viewer/home2%2ffuchsia%2fpublic_html%2fcastle-icons/fb.jpg" alt="fb" />
    </a>
    
    <a href="URL FOR THE LINKED TO PAGE">
    <img src="https://gator3018.hostgator.com:2083/cpsess2599559173/viewer/home2%2ffuchsia%2fpublic_html%2fcastle-icons/instagram.jpg" alt="insta" />
    </a>
    
    <a href="https://pinterest.com/travlwithcastle/">
    <img src="https://gator3018.hostgator.com:2083/cpsess2599559173/viewer/home2%2ffuchsia%2fpublic_html%2fcastle-icons/pinterest.jpg" alt="pinterest" />
    </a>
    
    <a href="www.youtube.com">
    <img src="https://gator3018.hostgator.com:2083/cpsess2599559173/viewer/home2%2ffuchsia%2fpublic_html%2fcastle-icons/rss.jpg" alt="rss" />
    </a>
    
    <a href="https://twitter.com/travlwithcastle">
    <img src="https://gator3018.hostgator.com:2083/cpsess2599559173/viewer/home2%2ffuchsia%2fpublic_html%2fcastle-icons/twitter.jpg" alt="twiiter" />
    </a>
    
    <a href="www.youtube.com">
    <img src="https://gator3018.hostgator.com:2083/cpsess2599559173/viewer/home2%2ffuchsia%2fpublic_html%2fcastle-icons/you-tube.jpg" alt="you-tube" />
    </a>
    </div>
    <nav id="site-navigation" class="main-navigation" role="navigation">
    			<h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3>
    			<a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
    			<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
    		</nav><!-- #site-navigation -->
    	</header><!-- #masthead -->
    
    	<div id="main" class="wrapper">
    Thread Starter dequecolour

    (@dequecolour)

    any idea why it created a new header underneath the original header?

    internalcompass.us/castle

    Thread Starter dequecolour

    (@dequecolour)

    doing this now. can’t thank you enough

    Thread Starter dequecolour

    (@dequecolour)

    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section and everything up till <div id="main">
     *
     * @package WordPress
     * @subpackage Twenty_Twelve
     * @since Twenty Twelve 1.0
     */
    ?><!DOCTYPE html>
    <!--[if IE 7]>
    <html class="ie ie7" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if IE 8]>
    <html class="ie ie8" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if !(IE 7) | !(IE 8)  ]><!-->
    <html <?php language_attributes(); ?>>
    <!--<![endif]-->
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    <link rel="profile" href="https://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?>
    <!--[if lt IE 9]>
    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    <![endif]-->
    <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    <div id="page" class="hfeed site">
    	<header id="masthead" class="site-header" role="banner">
    		<hgroup>
    			<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    			<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    		</hgroup>
    
    		<?php $header_image = get_header_image();
    		if ( ! empty( $header_image ) ) : ?>
    			<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a>
    		<?php endif; ?>
    <nav id="site-navigation" class="main-navigation" role="navigation">
    			<h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3>
    			<a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
    			<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
    		</nav><!-- #site-navigation -->
    	</header><!-- #masthead -->
    
    	<div id="main" class="wrapper">
    Thread Starter dequecolour

    (@dequecolour)

    The line above was in response to the previous q’s.

    With regards to modifying the header.php, I did not touch it in the parent theme, no.

    I do need to address that issue with another file, that I did touch to create the posts in two columns on the homepage, but I can’t remember how I did that, so I’ll have to wait until it comes back to me.

    Thread Starter dequecolour

    (@dequecolour)

    Yes, and yes, I would edit the image so they don’t show up there twice.

    Thread Starter dequecolour

    (@dequecolour)

    hey sorry i shared that link without fixing the site. i keep making rookie move after rookie move today, it seems..

    internalcompass.us/castle — you can see the site now.

    right, i understood about the CSS going in style.css, thank you. i don’t know where the code goes within the files in either case, although i’m up for some trial and error if need be

    Thread Starter dequecolour

    (@dequecolour)

    appreciate you clarifying that info. i initially edited the functions.php file and just thought all the files behaved the same way which i understand they do not.

    so i’m going to go pull the header.php info from the twentytwelve theme and add in the code above. that will be a start. thanks again

    Thread Starter dequecolour

    (@dequecolour)

    Thread Starter dequecolour

    (@dequecolour)

    Thread Starter dequecolour

    (@dequecolour)

    The code above doesn’t work on its own, so what I mean is, does it need to be prefaced by or followed by other code.

    I just tried a test to upload one tiny tumblr icon. The address for the image is:

    https://gator3018.hostgator.com:2083/cpsess6514682726/viewer/home2%2ffuchsia%2fpublic_html%2fcastle-icons/black-tumblr-icon.jpg

    Using the code above, in header.php, in a child theme, I get an error on line 3 and the site doesn’t load at all.

    To be clear, prior to this, I’ve just been using a graphic image for my header, loaded into wordpress under the dashboard through the header button under appearances. So, this is the first header.php file the child theme has seen.

    Thread Starter dequecolour

    (@dequecolour)

    Thanks so much. If I’m placing code in a header.php file which is in a twenty twelve child theme, it looks like I need a bit more info for the HTML you provided. Do you happen to know how to open and close that code so it can be added in the header.php file of a child theme?

Viewing 15 replies - 46 through 60 (of 67 total)