Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #375011

    Hi have used the code provided in this thread https://kriesi.at/support/topic/add-content-to-header/

    i used this function in the child theme:

    function custom_head_func(){
    echo “<div class=’header_date’><h4>27 FEB TO 1 MARCH 2015 BOARDWALK CASINO</h4></div>”;
    }
    add_action(‘ava_main_header’, ‘custom_head_func’);

    But using css i have been unable to position the date on the right without pushing the logo down. Here is my css that i have been trying with. If i make the position absolute then my background color stretches across the whole header. I am trying to get the same effect in the screen shot provided

    #header_date, .header_date {
    position: static;
    /* padding-left: 450px; */
    /* padding-top: 10px; */
    /* margin: 30px 30px 50px 100px; */
    background-color: red;
    /* display: table; */
    float: right;
    }

    #375032

    Hey Gareth!

    Can you please post the link to your website?

    Best regards,
    Yigit

    #375532
    This reply has been marked as private.
    #375537

    Hey!

    Please add following code to Quick CSS

    .header_date {
    margin-bottom: -26px;
    }

    Cheers!
    Yigit

    #375574

    Thanks so much! Cant believe i missed this simple fix :P

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Extra content in the header’ is closed to new replies.