Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #323345

    I am trying to add a tagline logo item that right aligns in the header:

    http://powerwashingplus4states.com/

    I have used code found in support:

    Placed this in the functions.php:

    function after_head_image_func(){
    	echo "<div class='custom_content'><img src='http://powerwashingplus4states.com/wp-content/uploads/2014/09/slogan.png'></div>";
    	
    }
    add_action('ava_main_header', 'after_head_image_func');

    And this is custom CSS:

    .custom_content{
    position: absolute;
    top: 0;
    right: 0;
    }

    What can I add to right align it to the edge of the site content and not the entire monitor? And, How can it scale like the logo does for mobile viewing?

    #323502

    Hey hobart!

    Thank you for using Enfold.

    You can change the position of the second logo using css:

    .custom_content {
    position: absolute;
    top: 0;
    right: 20%;
    }

    Adjust it on different screen sizes using css media queries.

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.