WordPress.org

Forums

Customizr
[resolved] Can't centre text in tagline... (6 posts)

  1. mak2691
    Member
    Posted 1 year ago #

    Hi,

    First, thanks love this theme!

    I can't seem to get the text in the tagline to centre, the charming but not very skilled chap on Elance I hired, shrank the tagline box which I fixed using one of your snippets, but the text is still stubbornly all bunched up (www.onlinebusinessadvisor.net.au) and I can't find anything in the documentation or snippets.

    Help greatly appreciated, but I'm not code savy so if it can't be done in the CSS box it will be beyond my abilities.

    Thanks

  2. Michael
    Member
    Posted 1 year ago #

    Hi, do you mean the description where it says

    Great Online Business Advice...FAST?

  3. CrouchingBruin
    Member
    Posted 1 year ago #

    Assuming that you are not going to use the social media buttons, try adding this to the end of the Custom CSS field:

    .row-fluid .span5.social-block {
       display:none;
    }
    .row-fluid .span7.site-description {
        width: 100%;
        padding-top: 10px
    }
    .social-block {
       display:none;
    }
    .navbar-wrapper .navbar {
       width: auto;
    }
    .navbar .navbar-inner {
       margin-left: 0;
       padding-left: 25px;
    }

    What's weird is that you have the mobile menu showing up, even when you don't have any other pages to navigate to.

  4. Michael
    Member
    Posted 1 year ago #

    I think this is what you need, put it in your theme's function.php file

    (hopefully you are using a child theme, so your modifications are not overwritten each time you upgrade.)

    `// TAGLINE //
    // center the Tagline
    add_filter('tc_tagline_display', 'rdc_tagline_display');
    function rdc_tagline_display($output) {
    return preg_replace('|span7|', 'span12', $output);
    }'

  5. Michael
    Member
    Posted 1 year ago #

    Hi brian, I didn't see your solution, you must have posted at the same time as me, thanks for sharing!

  6. mak2691
    Member
    Posted 1 year ago #

    Hi guys

    Thanks so much to both of you.

    Tried the CSS worked like a charm.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic