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

    Hi,

    I placed this in functions.php:

    function add_custom_text() {
    	?>
    	<div class="iconbox_content2">
    		<header class="entry-content-header">
    			<div class="iconbox_icon heading-color" data-av_iconfont="entypo-fontello" data-av_icon="" aria-hidden="true"></div>
    			<h3 class="iconbox_content_title" itemprop="headline">Strak bouw bvba</h3>
    		</header>
    	<div class="iconbox_content_container2 " itemprop="text">
    		<p>Tel: 0479 59 79 90</p>
    		<p>Adres: Staatsbaan 89</p>
    		<p>Plaats: 9991 Adegem</p>
    	</div>
    	</div>
    	<?php
    }
    add_action('ava_after_main_menu', 'add_custom_text', 10, 0);

    this is my quick css:

    #header_main .container, .main_menu ul:first-child > li a {
        line-height: 240px
    }
    
    div.iconbox_content2 {
       max-width: 915px;
        text-align: right;
        margin: 0 auto;
        left: 0;
        right: 20;
    position: relative;
    }
    
    

    As a result I have the header 3 align right, as I want it, but the icon keeps aligned left. Can the icon be aligned right so the icon is next to the header text?

    Thank you

    #477141

    Hi 82dt!

    I don’t see the icon on my end. Can you take a screenshot and highlight what your trying to do so we can get a better idea?

    Regards,
    Elliott

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