• 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

Beautiful Pro Custom Header

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 › General Discussion › Beautiful Pro Custom Header

This topic is: not resolved

Tagged: beautiful pro, Custom header, genesis

  • This topic has 1 reply, 2 voices, and was last updated 5 years, 7 months ago by Victor Font.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 15, 2017 at 7:44 am #210387
    staceychurch
    Participant

    Custom title in Beautiful Pro appears only to work as I want it to on the Home page.
    Can anyone spot the error as to why its not working on all other pages?
    I feel it may be something to do with me using p.header-title but my php is not great so a bit worried I may break it!

    Here is my functions.php code

    // Add additional custom style to site header
    function wap_site_title( $title ) {

    // Change $custom_title text as you wish
    $custom_title = '<span class="custom-title">Pam Billinge</span><p class="header-title">Be the person you want to be</p><p>Horse-led coaching, therapy, retreats and practitioner development</p>';

    // Don't change the rest of this on down

    // If we're on the front page or home page, use h1 heading, otherwise us a p tag
    $tag = ( is_home() || is_front_page() ) ? 'h1' : 'p';

    // Compose link with title
    $inside = sprintf( '%s', trailingslashit( home_url() ), esc_attr( get_bloginfo( 'name' ) ), $custom_title );

    // Wrap link and title in semantic markup
    $title = sprintf ( '<%s class="site-title" itemprop="headline">%s</%s>', $tag, $inside, $tag );
    return $title;

    }

    http://www.pambillinge.com/
    August 15, 2017 at 8:26 am #210390
    Victor Font
    Moderator

    You custom title is working fine on the other pages. You need to adjust the CSS to make it look the same as the home page. https://victorfont.com/how-to-use-your-browsers-inspect-tool/


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ 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

© 2023 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