-
AuthorPosts
-
June 27, 2014 at 9:23 am #284427
In the button shortcode, there is an option for centered or not. But, I need to have two buttons on the same line. I can get the desired look using 4 columns and just use the 2nd and 3rd, but that clearly isn’t efficient and they stagger on the responsive adjustment. Soooo….is there a way to make the buttons float left? Or to align right and/or left (with the use of 2 columns) the way you have a center option?
June 27, 2014 at 10:57 am #284450Hey janeyj!
“Authorization Required” please post username and password so we can check your website
Best regards,
YigitJune 27, 2014 at 8:04 pm #284712This reply has been marked as private.June 27, 2014 at 11:40 pm #284748Hi!
Enable this, then add this class to the buttons you want to float:
Finally add this to the Quick CSS:
.avia-button.alignleft { margin-top: 0 !important; }
Regards,
JosueJune 28, 2014 at 12:06 am #284756This reply has been marked as private.June 28, 2014 at 12:31 am #284758Sorry, here’s the link:
http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/Cheers!
JosueJune 28, 2014 at 11:24 am #284826Guys, this still isn’t working for me. I’m using a text block and placing the shortcode because the display is giving me better results. I just need them side by side instead of stacked….
June 28, 2014 at 6:12 pm #284849Hi!
If you are using a shortcode then simply add the custom_class=’alignleft’ attribute at the end of each button, like:
[av_button label='Click me' link='manually,http://' link_target='' color='theme-color' custom_bg='#444444' custom_font='#ffffff' size='small' position='center' icon_select='yes' icon='ue800' font='entypo-fontello' custom_class='alignleft']
Cheers!
JosueJune 28, 2014 at 6:17 pm #284850Nope….If you look now, that’s what I just did. They’re still stacked. I need them side by side and centered on the page. I’m not sure what the issue is…
June 28, 2014 at 6:24 pm #284852This reply has been marked as private.June 28, 2014 at 6:36 pm #284853Oh, you are using a button from a third-party plugin, we usually don’t cover these kind of modifications but try adding this to the Quick CSS:
#av_section_1 .av_textblock_section:last-child .avia_textblock .su-button-center { float: left !important; } #av_section_1 .av_textblock_section:last-child { width: 425px; margin: 0 auto; }
Regards,
JosueJune 28, 2014 at 6:43 pm #284854This reply has been marked as private.June 28, 2014 at 6:54 pm #284856Change the code to:
#av_section_1 .av_textblock_section:last-child .avia_textblock .su-button-center { float: left !important; margin: 0 6px; } #av_section_1 .av_textblock_section:last-child { max-width: 450px; margin: 0 auto; }
Regards,
JosueJune 28, 2014 at 7:12 pm #284858*high five*
Thank you so much!
June 28, 2014 at 7:48 pm #284862You are welcome :)
-
AuthorPosts
- You must be logged in to reply to this topic.