Tagged: 

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

    Logo left and burger right is not the problem. But how can i get the website slogan in the center of the header?

    #1466456

    Hey Micha66,

    Could you post a link to where we can see the element in question please?

    Best regards,
    Rikard

    #1466460

    The Page ist still in the making… but i will do logo left, burger right and text in the center. Can i do this with header widgets? I only found widgets codes with logo center and text right/left. Best solution in my opinion are widgets with logo left, text center and burger right… is that possible?

    #1466475

    Got it:
    function.php:

    function add_aditional_content_to_header($logo, $use_image, $headline_type, $sub, $alt, $link){
    
        $logo .= "<div class='custom_content'>";
        $logo .= "Your Gateway to High-End Homes in Europe";
        $logo .= "</div>";
    
    	return $logo;
    }
    add_filter('avf_logo_final_output', 'add_aditional_content_to_header', 100, 6);

    CSS:

    .custom_content {
        left: 50%;
        transform: translate(-50%,0);
        -ms-transform: translate(-50%,0);
        -webkit-transform: translate(-50%,0);    
        position: absolute;
        font-size:24px;
    }
    
    @media only screen and (max-width: 767px) {
    .custom_content {
        left: 55%;
        transform: translate(-50%,0);
        -ms-transform: translate(-50%,0);
        -webkit-transform: translate(-50%,0);    
        position: absolute;
        font-size:14px; line-height:20px; margin-top:-60px; text-align:center;
    }
    }
    #1466479

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Logo left Slogan center and Burger Menu right’ is closed to new replies.