• 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

Changing "site-title" for sub-page

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 › Changing "site-title" for sub-page

This topic is: resolved

Tagged: php, site title

  • This topic has 1 reply, 1 voice, and was last updated 11 years, 1 month ago by alisterb.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 4, 2014 at 6:43 am #98431
    alisterb
    Member

    Hello
    Apologies if this doesn't quite fit in this category, but I'm not having much luck finding an answer elsewhere.

    I've been asked by a client to create a page as part of their 'campaign', and they want the current site title - Pakistan Health Policy Forum - to be changed to #EndMedicalPoverty for this page only.

    Can anyone help me out with a suitable code snippet to add to functions.php to display this unique page title? I'm still very much a beginner with php and can't quite get my head around calling a specific change to the site-title for a particular page.
    I have my reservations from a site usability point of view, but this is their request.

    Template: Magazine Pro.

    Many thanks to anyone that can help me out.

    Alister

    http://dev.trail-maker.com/endmedicalpoverty/
    April 5, 2014 at 5:42 am #98599
    alisterb
    Member

    Needs must, and I opted to figure this out with HTML/CSS.
    It might not be a textbook approach, but it worked for me and might be of use for someone else:
    - I hid the site-title with opacity
    site-title {
    opacity: 0;
    -moz-opacity: 0.0;
    filter: alpha(opacity=100);
    }
    I created a div with a specific ID with the desired alternative title and link inside the top of the page and then positioned this to sit in the site-title position:
    #divid {
    position: relative;
    top: -160px;
    left: 0px;
    }

    Then set this to position correctly when on a smaller media size when the menu changes to responsive.

  • 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

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