button properties

Posted in: Newspaper
Post count: 50

Hello, I have added a button with the page builder in my page, but besides the size, I would like to change a bit the button’s properties, like the height, making the text vertical alignment: middle.

What is the code I need to add in the custom CSS area in order to achieve this result?

Thanks

Post count: 22421

Hello,
You will need to provide a link to this button so we can inspect it and create the css code directly.
Or alternatively, you could provide the shortcode to this button so we can recreate it on our side.
Thanks.

Post count: 50

OK, this is the code i get from the generator:

[vc_btn title="SEND MY MY BOOK" style="custom" custom_background="#2b78ae" custom_text="#ffffff" size="lg" align="center" i_align="right" i_icon_fontawesome="fa fa-cloud-download" link="url:http%3A%2F%2Fprojectbebest.com%2F||target:%20_blank" button_block="true" add_icon="true"]

I would like to make this button:

• 200px in height
• have the elements with vertical alignment middle

Thanks

Post count: 22421

Hello,

You can use this code to do it:
.vc_btn3-center{
height:200px!important;
}
.vc_btn3-center a, .vc_btn3-center i{
line-height:162px!important
}

result: http://screencast.com/t/bEZdXsVL7D

Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.