Icon not aligning with text to right

[ad_1]

Why is my icon not aligning with the top [here]

The [website is here]) in case someone needs to check the code.

Using this CSS:
.my-advanced-tab-widget .elementskit-tab-icon {

margin-right: 20px !important; /\* Decrease the margin to bring the icon closer to the text \*/

vertical-align: top !important;

}

[ad_2]
1 Comment
  1. Do this instead:

    a.elementkit-nav-link { display: flex }

    .elementskit-tab-icon { display: block; align-self: start }

    or:

    .elementskit-tab-icon { display: block; align-self: flex-start }

    You might need to add “!important” if the declarations are overriden.
    vertical-align is ancient stuff. The Flexbox model is so much better.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer