-
AuthorPosts
-
January 4, 2016 at 8:15 pm #559446
Can an av_button have two lines…one the basic command, the second smaller a font?
For instance:
YES
Send me the eBookYES would be the “title” showing on button in typical font.
Send me the eBook would be the “subtitle” showing on button in smaller size.Any ideas?
Thanks in advance for anyone who might have suggestions.
January 5, 2016 at 2:55 am #559691Hi CharlieTh!
Add the second text inside a “<span></span>” element and then send us a link to your page and we’ll see if we can get you some CSS to use.
Best regards,
ElliottJanuary 5, 2016 at 3:20 am #559702Thank you, thank you, thank you!
Just that one “hint” gave me (I think) the answer.
I REALLY think I tried with Span before, but maybe used Div?
In any case, here’s what I did for anyone who needs this one line above the other capability for the wonderful av_button.
I wanted top title in button bigger and bottom title (sub-title) smaller.
The av_button_label has the dual span that makes this work — once you add the CSS at the bottom.Here is the Debug code for the av_button:
[av_button label='<span class="first-button-title">YES</span><span class="second-button-title">Send me the eBook</span>' link='manually,http://' link_target='' size='x-large' position='center' icon_select='no' icon='ue800' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' custom_class='']
Here is the CSS put in Code Block at bottom of page:
<style> .first-button-title{font-size:2.5rem!important;display:table;margin:auto;color:red!important;padding-bottom:1rem!important;} .second-button-title{font-size:2rem!important;color:yellow!important;} </style>
Not sure if that’s the way I put HTML and CSS in this Enfold post, but it may help someone…just as you did me, Elliott.
Thanks!
Know the colors are atrocious, but wanted to see what worked.
If you have any suggestions about better way, please let me know!
January 5, 2016 at 10:34 am #559804June 27, 2020 at 8:40 pm #1226135Feel free to close this. And thanks!
June 29, 2020 at 1:17 pm #1226409 -
AuthorPosts
- The topic ‘Button with second subtitle’ is closed to new replies.