• Resolved kellynmasters

    (@kellynmasters)


    Hi everyone,

    I am new to this, code is foreign language to me. I am trying to make the headers (Home, Solutions, etc.) on my site to be a different font, size and all be capitalized. Also centered with the logo if possible. I have toyed with this for hours on end and gotten nothing. I can change the capitalization in the individual pages but for some reason “Solutions” refuses to change…

    dataclover.com

    Any help would be GREATLY appreciated!

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • What theme are you using? Where did you download it from?

    Thread Starter kellynmasters

    (@kellynmasters)

    @esmi oops, sorry! I am using Avada, purchased and downloaded online.

    I’m sorry but as you are using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not have access to, nor do we support, commercial products here.

    Thread Starter kellynmasters

    (@kellynmasters)

    @esmi, bummer! Well thank you for the response ?? take care

    Hi Esmi,

    I’ve seen that you helped someone else in another forum post about removing the header from all other pages other than the homepage. But I can’t find that thread again.

    Let me apologise in advance – I’m a creative and not the best coding so sorry if I’m asking an obvious question! ??

    I tried your suggestion but it didn’t work for my website. If I paste my header code below, are you able to tell me where I can edit the <php if to make it appear on homepage only???

    The header code is:

    <?php
    /**
     * @package WordPress
     * @subpackage Yoko
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>" />
    	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    	<title><?php wp_title( '|', true, 'right' ); ?></title>
    	<link rel="profile" href="https://gmpg.org/xfn/11">
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    	<!--[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="clearfix">
    	<header id="branding">
    		<nav id="mainnav" class="clearfix">
    			<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
    		</nav><!-- end mainnav -->
    
    		<?php global $yoko_options;
    		$yoko_settings = get_option( 'yoko_options', $yoko_options ); ?>
    
    		<hgroup id="site-title">
    		<?php if( $yoko_settings['custom_logo'] ) : ?>
    			<a>" class="logo"><img src="<?php echo $yoko_settings['custom_logo']; ?>" alt="<?php bloginfo('name'); ?>" /></a>
    		<?php else : ?>
    			<h1><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
    				<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
    		<?php endif; ?>
    		</hgroup><!-- end site-title -->
    
            <?php
    		// The header image
    		// Check if this is a post or page, if it has a thumbnail, and if it's a big one
    			if ( is_singular() &&
    				current_theme_supports( 'post-thumbnails' ) &&
    				has_post_thumbnail( $post->ID ) &&
    				( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
    				$image[1] >= HEADER_IMAGE_WIDTH ) :
    				// Houston, we have a new header image!
    						echo get_the_post_thumbnail( $post->ID , array(1102,350), array('class' => 'headerimage'));
    						elseif ( get_header_image() ) : ?>
    						<img src="<?php header_image(); ?>" class="headerimage" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" /><!-- end headerimage -->
    					<?php endif; ?>
    					<div class="clear"></div>
    
    		<nav id="subnav">
    			<?php
    			if (is_nav_menu( 'Sub Menu' ) ) {
    			wp_nav_menu( array('menu' => 'Sub Menu' ));} ?>
    		</nav><!-- end subnav -->
    </header><!-- end header -->

    [Moderator Note: Please post code or markup between backticks or use the code button. Or better still – use a pastebin. Your posted code may now have been permanently damaged by the forum’s parser.]

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s un-related topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Editing Header’ is closed to new replies.