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

    Hello,
    My client has a request.
    Attached is the 1.jpg screenshot I sent you, with the normal website. In the 2.jpg screenshot, they want the title under the EU/TR flag, but they want it to be above the menu. I have described 2.jpg. Can you help me.

    #1412664

    Hi tulin88,

    Are you using a child theme? if yes, please add this PHP Snippet in your child theme’s functions.php, if you don’t have one, then you can use a plugin called WPCode – Insert Headers and Footers and insert it as a PHP Snippet:

    add_action( 'ava_inside_main_menu', 'heading_above_news' );
    function heading_above_news() {
    	$page_id = 1828;
    	$header = "TECHNICAL ASSISTANCE FOR TOWN TWINNING BETWEEN TÜRKİYE AND THE EU PHASE – II";
    	
    	if ( is_page( $page_id ) ) {
    		echo '<div class="news-header"><h3> ' . $header . '</h3></div>';
    	}
    }

    Then go to Enfold > General Styling > Quick CSS and add this CSS code:

    #top #header_main_alternate .main_menu {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .news-header h3 {
        color: #0e4194;
        font-size: 18px;
    }

    Hope it helps.

    Best regards,
    Nikko

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