• 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

Add text to header (Parallax Pro)

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 › Add text to header (Parallax Pro)

This topic is: not resolved

Tagged: custom function, text widget

  • This topic has 3 replies, 3 voices, and was last updated 6 years, 7 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 24, 2016 at 4:57 pm #190135
    mlinton
    Member

    Hello all,
    I am stepping in for someone and working with a site that I did not create. The site owners would like text added below the navigation menu on this site: http://dev.coyb.org/ (this is the test site). Ideally, the logo will be as high as the navigation menu and a two line text box. If you go to the site now, you will see black space under the menu, I can't figure out how to add a couple lines of text right there and format it.

    Any advice?
    Mark

    http://dev.coyb.org/
    July 24, 2016 at 7:30 pm #190136
    Brad Dalton
    Participant

    Add the HTML for the text to a text widget in the header right widget area and use CSS for positioning.

    Or

    You can use PHP code in a custom function to hook the text in using the genesis_header_right hook


    Tutorials for StudioPress Themes.

    August 14, 2016 at 4:39 pm #191280
    datic
    Member

    Hi Brad,

    I came across your response which is related to a question I have. Hopefully you're able to enlighten me; is it more proper to use custom code within a text widget or in a custom PHP function? Does it depend on what is trying to be accomplished? It seems its easier to maintain responsiveness within a text widget but anything with considerable code is easier to write within a custom PHP function. Can you share your thoughts...please?

    Thanks,
    -josh

    August 14, 2016 at 8:45 pm #191283
    Brad Dalton
    Participant

    Hello Josh

    If it's HTML, you can use it in a text widget or a custom function however you'll probably find the text widget is better as you can easily change the HTML.

    If its PHP code, you would use a custom function.

    Does that help?


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

© 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