Tagged: header
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;
}
Hey!
Please add following code to Quick CSS
.header_date {
margin-bottom: -26px;
}
Cheers!
Yigit
Thanks so much! Cant believe i missed this simple fix :P