Hi There,
Please find this custom CSS on your Theme Options and remove it, that is the code that cause the glitching on topbar.
.x-topbar .p-info a:hover {
float: left;
background: rgb(17,81,154);
color: white !important;
display: inline-block;
padding: 22px;
}
-
That is not quit possible with the current markup of your icon/link. Please wrap the icon and anchor text in the same <div>
tag first.
-
Please do not position: absolute;
your button because that will go out of bounds of the topbar.
Here’s another approach on this that is less complicated, please create a Global Block that will act as your Topbar.
After that setup an x child theme and activate it.
Then login to your server via FTP or cPanel’s File Manager and create this directory to your child theme
\framework\views\global
In that folder create a file named _topbar.php
then add this as the content of that file.
<?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">
<?php echo do_shortcode( 'YOUR GLOBAL BLOCK SHORTCODE HERE' ); ?>
</div>
</div>
<?php endif; ?>
Replace the YOUR GLOBAL BLOCK SHORTCODE HERE with the actual shortcode of your Global Block you created, then save.
This may look intimidating, but don’t. If you do this correctly, you’ll get a Topbar that is easy to edit like a page content.
Thanks,