• 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

Agency Pro Welcome Mesage – line break?

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 › Agency Pro Welcome Mesage – line break?

This topic is: resolved

Tagged: agency pro, centered, line break, title, welcome

  • This topic has 17 replies, 5 voices, and was last updated 12 years ago by nunotmp.
Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • June 24, 2014 at 1:44 pm #111338
    Paul
    Member

    I'm using the Agency Pro child theme for the first time, and I'm trying to figure out how to get the welcome message to have a line break and still be properly centered.

    http://nantyglonaz.com/

    I'd like "Welcome to Nanty Glo" to be one line and "Church of the Nazarene" to be the 2nd line. The title for the widget doesn't recognize </br> and trying to use &nbsp; throws it off center.

    Any suggestions? Thanks in advance for any help!


    Grace and Peace,
    Paul

    http://nantyglonaz.com/
    June 25, 2014 at 7:25 am #111448
    AnitaC
    Keymaster

    I used <br /> with Firebug and it works. Not sure if how did my break work would work, but try it that way. If not, there is a plugin I've used in the past called "Linkable Title, HTML and PHP Widget."


    Need help with customization or troubleshooting? Reach out to me.

    June 28, 2014 at 9:32 am #111877
    Paul
    Member

    Thanks Anita, but that didn't do the trick either. I installed that plugin and it is doing the same thing that the text widget did - as soon as I "save" it, it strips out any code.

    I used Web Developer to edit the site and it worked perfectly but as soon as I save it that way in the widget (either widget) the line break is stripped.

    I currently have both the standard text widget and the Linkable Title, HTML and PHP Widget in the Home Top widget area and both display exactly the same.

    Any other suggestions or ideas on how to get this to display as
    Welcome to Nanty Glo <br />Church of the Nazarene

    http://nantyglonaz.com/


    Grace and Peace,
    Paul

    June 28, 2014 at 5:47 pm #111897
    AnitaC
    Keymaster

    Nope, let me send out a tweet.


    Need help with customization or troubleshooting? Reach out to me.

    June 28, 2014 at 5:54 pm #111899
    Gary Jones
    Member

    You should be able to adapt this tutorial, so instead of adding a span in, you add your title with a <br /> element instead:

    http://www.carriedils.com/custom-site-title-genesis/


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    June 28, 2014 at 5:55 pm #111900
    AnitaC
    Keymaster

    Thanks Gary!


    Need help with customization or troubleshooting? Reach out to me.

    June 28, 2014 at 5:59 pm #111901
    weslinda
    Member

    I see one of two routes.

    First is to simply put the HTML code that you want in the text widget instead of using a title. You can add the CSS styles to the lines that you want to display a certain way. Forego the HTML in the title completely. This is the least intrusive manner since you're okay doing HTML here.

    Second is to follow the guides on this page. Looks like it should work, but I haven't directly tested it.


    Loving the Genesis Life!

    June 28, 2014 at 6:41 pm #111904
    nunotmp
    Member

    One very easy way to do this is leave the title blank but use its markup. So simply move it down into the text widget and wrap it like so.

    
    <h4 class="widget-title widgettitle">Welcome to Nanty Glo<br>Church of the Nazarene</h4>
    

    This will give you what you are looking for.


    Genesis Child Themes – Follow Me

    June 28, 2014 at 7:23 pm #111908
    Gary Jones
    Member

    Unfortunately, that will hinder SEO, since the H1 wrapping the site-title would be lost.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    June 28, 2014 at 7:30 pm #111910
    weslinda
    Member

    Can you be more specific Gary? Where would the H1 be lost?


    Loving the Genesis Life!

    June 28, 2014 at 7:35 pm #111911
    Gary Jones
    Member

    "leave the title blank" presumably means setting Settings->General site name to an empty string. That affects <title> elements, site heading (the H1 would be "<h1></h1>") and other bits, and really isn't advised.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    June 28, 2014 at 7:40 pm #111912
    weslinda
    Member

    Gotcha. I believe that the widget title is what's being shared as what to leave blank, not the Settings > General site name option. If you move the h4 code that would be created with the widget title to the text area of the widget, and leave the widget title blank, it should work. Wouldn't affect the h1 on the site at all. At least, that's what I was talking about.


    Loving the Genesis Life!

    June 28, 2014 at 7:43 pm #111913
    Gary Jones
    Member

    My apologies to all - I'd missed (it's nearly 3am here) that it was the widget title that wanted to be split up, not the site title.

    The tutorial I linked to won't obviously be suitable either.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    June 28, 2014 at 7:59 pm #111914
    nunotmp
    Member

    No problem. I had to double check the question. 🙂


    Genesis Child Themes – Follow Me

    June 28, 2014 at 8:01 pm #111916
    weslinda
    Member

    Go to bed! 🙂 I went back to check it as well. Keeping us in line eh Gary?


    Loving the Genesis Life!

    June 28, 2014 at 8:43 pm #111919
    AnitaC
    Keymaster

    @GaryJ, that was my mistake. I sent the Tweet indicating Site Title! Throw all peanuts at me now! 🙂


    Need help with customization or troubleshooting? Reach out to me.

    June 28, 2014 at 11:17 pm #111932
    Paul
    Member

    Thank you nunotmp! That was exactly what I needed.

    And thanks to everyone else for your input, I sincerely appreciate it!


    Grace and Peace,
    Paul

    June 29, 2014 at 12:29 am #111941
    nunotmp
    Member

    No problem, glad I could help.


    Genesis Child Themes – Follow Me

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