Viewing 1 replies (of 1 total)
  • This is my way to achieve that:
    Add the following code in your child-theme functions.php

    add_action('__header', 'tc_header_header_start', 0);
    function tc_header_header_start(){
    echo '<div class="tc-header-container container">';
    }
    add_action('__header', 'tc_header_header_end', 40);
    function tc_header_header_end(){
    echo '</div>';
    }

    and get rid at least of that 50px of padding left here:

    .tc-header .brand {
    float: left;
    text-align: center;
    margin: 0;
    padding: 0 0 0 50px;
    font-size: 16px;
    font-weight: 700;
    }

    I don’t recognize that rule, is from the original customizr or is something you changed in the original file?

    It you did that, you better use a child theme and make all the changes in its style.css otherwise you’ll lose them on each update…

    Hope this helps

Viewing 1 replies (of 1 total)
  • The topic ‘Stop Floating Logo’ is closed to new replies.