• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Strange bug with site logo

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Strange bug with site logo

This topic is: not resolved
  • This topic has 1 reply, 2 voices, and was last updated 12 years, 2 months ago by essaysnark.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 30, 2014 at 12:18 pm #103084
    Ben @ Inbound Creative
    Member

    I've created a widgetised template for my contact page.

    I'm planning on hardcoding it eventually, but for the time being, I want to be able to move things around.

    However, the site logo appears to have bugged somehow.

    The logo isn't sizing correctly and the site title text is appearing. It only occurs on the contact template.

    From looking at the Developer Tools in Chrome, I can see that the CSS it's calling is .site-title a instead of .header-image .site-title > a. Has anyone experienced this before and have a solution?

    I've gone through the template code a couple of times and can't put my finger on what's causing it.

    Template code below:

    <?php
    /*
    Template Name: Contact
    */
    
    add_action( 'wp_enqueue_scripts', 'am_enqueue_contact_scripts' );
    
    function am_enqueue_contact_scripts() {
    	
    	wp_enqueue_script( 'am-home', get_bloginfo( 'stylesheet_directory' ) . '/js/home.js', array( 'jquery' ), '1.0.0', true );
    	wp_enqueue_script( 'parallax-script', get_bloginfo( 'stylesheet_directory' ) . '/js/contact-parallax.js', array( 'jquery' ), '1.0.0' );
    	
    }
    
    add_action ( 'genesis_meta', 'am_contact_meta' );
    
    function am_contact_meta() {
    	
    	if ( is_active_sidebar( 'contact-parallax' ) || is_active_sidebar( 'contact-info' ) || ( 'contact-map' ) );
    	
    		add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    		add_filter( 'body_class', 'am_contact_class' );
    		remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
    		add_action( 'genesis_before_footer', 'am_contact_widgets', 5 );		
    	
    }
    
    function am_contact_class() {
    	$classes[] = 'contact';
    	return $classes;
    }
    
    function am_contact_widgets() {
    	
    	echo '<div id="contact-widgets" class="contact-widgets">';
    	
    	genesis_widget_area( 'contact-parallax', array(
    		'before' => '<div class="contact-parallax widget-area">',
    		'after'  => '</div>',
    	) );
    	
    	genesis_widget_area( 'contact-address', array(
    	'before' => '<div class="contact-address widget-area">',
    	'after'  => '</div>',
    	) );
    	
    	genesis_widget_area( 'contact-info', array(
    		'before' => '<div class="contact-info widget-area">',
    		'after'  => '</div>',
    	) );
    	
    	genesis_widget_area( 'contact-map', array(
    		'before' => '<div id="map-canvas">',
    		'after'  => '</div>',
    	) );
    	
    	echo '</div>';
    	
    }
    
    genesis();

    Award winning web design in Liverpool | UK based Genesis Framework web designer and developer

    http://www.advicemedia.co.uk/contact
    April 30, 2014 at 2:07 pm #103109
    essaysnark
    Participant

    I've never worked with Parallax so this is a total guess but I'm wondering how you have defined your CSS for the "contact" style that you declared? You don't have any "parallax"-type styles on the body tag so that is the first thing that looks suspicious.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble