• Resolved Carol Murchie

    (@carolmurchie)


    I have been struggling with the header display on a new site I’m doing and found a thread in the WordPress support forums that came close to my problem, @rdellconsulting replied to the person, but there was no feedback loop on what he and that person determined was the best way to fix his issue—it was closed after the guy sent a link to his site. The conversation was a year ago, and can be found here. It’s like the last page ripped out of a mystery novel.

    My new site is at https://www.yourvirtualsherpa.com/hilltreekeep/ . The difference between myself and the person last year is I don’t have Polylang but I do have a logo and hate the site-title display below it (have it set to be suppressed in display presently and am using the tagline to do both title and description); I would like to have the site-title display at the top, centered above the tagline so that I can make the name pretty large and in green, then have the tagline below in smaller font, black and in italic. Ideally, I’d like to have a way to show the phone number in the top right of the header, too, though I think it will be less important since I can find alternative options. I’m using Customizr Pro 1.2.22 with a child theme for all customizations.

    So I was wondering how you essentially separate the site-logo from the site-description (one of the options the previous person suggested), to move it up above the default tagline location but leave the site-logo on the left side where it is now. Want it to look good regardless of desktop or mobile, too.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    The developer team handles support for Customizr-Pro at https://presscustomizr.com/support/. Please post your query there.

    Meanwhile, you could also add this to your child theme’s functions.php

    add_filter('tc_tagline_display', 'mytagline');
    function mytagline($content){
    return "<h1>YOUR SITE TITLE</h1>".$content); //ADJUST
    }
    Thread Starter Carol Murchie

    (@carolmurchie)

    Thanks, Menaka:
    I tried your suggested fix in the child functions.php and it resulted in a 500 Internal server error. Error log says there’s an unexpected ‘)’ in functions.php which I think is the extra ‘)’ after the word $content–in fact your code snippet does have an orphan ‘)’. Should be:

    add_filter(‘tc_tagline_display’, ‘mytagline’);
    function mytagline($content){
    return “<h1>SITE-TITLE</h1>”.$content; //ADJUST
    }

    This doesn’t quite do it for me so I will post on Presscustomizr’s support as you suggest.

    Oh yes. Sorry about that. The ) is a mistake.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Move Title to above Tagline; leave logo flush left’ is closed to new replies.