• Resolved rogerww

    (@rogerww)


    Hi everyone,

    Somehow the text in my ultimate blocks button (improved) are vertically aligned to the top when adding an icon. This wasn’t the case when I first started using it, but I can’t seem to find a way to repair it. Is there a custom CSS code that I could insert? And does it has to be applied to the specific button-style?

    Any help would be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Alexis Pandaan

    (@alexius08)

    Hi @rogerww! Upon checking your linked page, I noticed that something in your theme’s CSS is affecting the display of our button blocks. You may add the following CSS code to fix the display of the button text:

    .ub-button-block-btn {
        line-height: inherit;
    }

    Please let us know how it goes.

    Thread Starter rogerww

    (@rogerww)

    Alexis, that was extremely helpful. Now I think of it, the change in display must have happened after upgrading to a newer version of my theme a few weeks ago. I must admit, I’m just a schooled lawyer with a keen interest in creating websites. Could not have done this without your help. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Vertical align text in button (improved) when adding icon’ is closed to new replies.