Themeable button different in breakpoints

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
gramae
 
 
Posts: 124
Joined: Thu May 24, 2012 1:47 am

Themeable button different in breakpoints

Post by gramae »

Hi
I am using themeable buttons on several projects, but when I use <br> to achieve 2 line text, although the text is correct on the Default view,
on all other breakpoints, the text is spaced too far apart vertically to be useful. Using Google to inspect, it appears that in all breakpoints apart from default, a 43px line height is inserted. Has anyone found a solution to this?
Thanks
User avatar
crispy68
 
 
Posts: 2907
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Themeable button different in breakpoints

Post by crispy68 »

Either open up a html code box or add to the page html set between the <head> tags and add the following:

Code: Select all

<style>
#wb_ThemeableButton1 .ui-button{line-height:inherit;}
</style>
Change ID "ThemeableButton1" in code above to match the ID of your button.
gramae
 
 
Posts: 124
Joined: Thu May 24, 2012 1:47 am

Re: Themeable button different in breakpoints

Post by gramae »

Hi
Thanks, works perfectly.
Post Reply