• gossettphd

    (@gossettphd)


    I’m trying to remember how to increase the display length for the Site Title in the top bar. Right now it wraps after 25 characters but I’d like to stop the wrap and get the site title all on one line.

    I’ve Googled this and have tried adding code to the functions.php and css to the site.css, but neither of those solutions is working for me.

    Ideas?

    Thanks!

    • This topic was modified 4 years ago by gossettphd.
    • This topic was modified 4 years ago by gossettphd.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is a theme thing, and not something controlled by WordPress.

    But, of course, you can customize your theme’s defaults via custom coding (if the theme’s customizer settings does not allow you to do this). If you’re adding custom CSS code and it’s not working, chances are the culprit is the specific CSS code you’re using… and not the general approach that’s the problem.

    If you want the title to fit on all screens, use the following CSS code.

    .navbar .title-logo-wrapper {
    max-width: max-content !important;
    }

    This code can go pretty much wherever you can enter CSS, but the easiest place will be APPEARACANCE => CUSTOMIZE => ADDITIONAL CSS. Putting it here has the added benefit of ensuring that the code will stay in place when you update the theme.

    Good luck!

    Thread Starter gossettphd

    (@gossettphd)

    That did the trick! Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Changing Length of Site Title’ is closed to new replies.