Hello guys,
Can you please tell me how add the search button in the topbar of my website, right next - on the right side - to the Greek flag / language switcher?
Just to clarify that I already added some code (bellow) to my child theme (I added it in wp-content --> themes --> x-child --> framework --> views --> global --> _topbar.php).
So the _topbar.php has now this:
<?php
// =============================================================================
// VIEWS/GLOBAL/_TOPBAR.PHP
// -----------------------------------------------------------------------------
// Includes topbar output.
// =============================================================================
?>
<?php if ( x_get_option( 'x_topbar_display', '' ) == '1' ) : ?>
<div class="x-topbar">
<div class="x-topbar-inner x-container max width">
<?php if ( x_get_option( 'x_topbar_content' ) != '' ) : ?>
<p class="p-info"><?php echo x_get_option( 'x_topbar_content' ); ?></p>
<?php endif; ?>
<?php x_social_global(); ?>
<ul class="language-switcher right">
<?php pll_the_languages( array( 'show_flags' => 1,'show_names' => 0 ) );?>
</ul>
</div>
</div>
<?php endif; ?>
Also I have this in the in the Child Theme’s style.css file.
.masthead-stacked .x-brand {
width: 100% !important;
float: left !important;
display: block !important;
}
Thanks in advance,
Stergios (worldvespa.net)