-
AuthorPosts
-
November 29, 2016 at 10:19 am #718140
Hello,
Can you please tell me, what is the easiest way to place CTA button into the slider http://imgur.com/a/drx1R
NB: and is it possible to only show it on desktop?
Thanks.
December 1, 2016 at 5:01 pm #719344Hey pimroll,
You can simply edit your slider and add button under captions tab.
Please enable the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ then edit your slider and give it a custom CSS class and add following code to Quick CSS
@media only screen and (max-width: 990px) { .your-custom-class .avia-slideshow-button { display: none !important; }}
Best regards,
YigitDecember 2, 2016 at 6:23 am #719515Hello Yigit,
Understood but from where can I get the CTA button code to insert it into the slider caption section?
Thanks.
December 2, 2016 at 6:42 am #719520Hi,
If you are looking to design your own custom button using css there are many resources available please google “CSS button generator” the follow the steps provided by Yigit to make your own button.
If you like some button inspiration please check the link below
Best regards,
VinayDecember 2, 2016 at 9:36 am #719565Hello Vinay,
I was thinking about how to add already existing CTA button code (which is in my footer at the moment) into header slider caption.
So how can I get the code for that?
Thanks!
December 5, 2016 at 6:50 am #720332Hey!
Enable debug mode for page elements which will allow you to copy the shortcode for page elements.
Copy the shortcode for the button and check in the slider options where you can insert the slider/image captions and add the button shortcode there.
If you still have issues please post your wordpress login details with admin role so we can check the backend settings.
Cheers!
VinayDecember 5, 2016 at 7:06 am #720336Hello Vinay,
Thanks, managed to add the code into the functions php and also the code into the slider but do you know, if its possible to remove the underline from the CTA button text?
http://dreammarketing.ee/delfi-reklaam/
Thanks.
December 5, 2016 at 7:18 am #720337Hello Vinay,
And also how to hide the CTA button in the Mobile view since it looks very akward.
Yigit gave me this code:
@media only screen and (max-width: 990px) {
.your-custom-class .avia-slideshow-button {
display: none !important;
}}But it is still showing fo me.
December 5, 2016 at 3:46 pm #720500Hi,
You had some errors in your Quick CSS. I fixed them and added following code to bottom
#top .avia-caption-content a { text-decoration: none; }
Please review your website now
Best regards,
YigitDecember 5, 2016 at 7:49 pm #720644Hello Yigit,
I made an hard refresh but for me the CTA button is still visible via mobile: http://imgur.com/a/0YjH3
December 5, 2016 at 8:22 pm #720662Hello Vinay,
Did you changed something in the code so the line disappeared now?
Is it possible to add cutom colour to the fullwith easy slider caption button colour? I would like to add my own custom colour there but I cannot find it in the Debug code below.Thanks.
December 6, 2016 at 6:14 am #720847Hi,
To hide the slider buttons in mobile view please add the below css
@media only screen and (max-width: 767px) { #top .avia-caption-content .avia-button-center, #top .avia-caption-content .avia-slideshow-button { display: none; }}
Best regards,
VinayDecember 6, 2016 at 9:23 am #720894Hello Vinay,
It seems to be working now and the CTA is hidden in the mobile view.
Is it possible to add cutom colour to the fullwith easy slider caption button colour? I would like to add my own custom colour there but I cannot find it in the Debug code below.
December 7, 2016 at 6:38 am #721368Hello Vinay,
I deleted the big CTA button because I need only 2 smaller buttons but for me it still shows in the mobile view.
December 9, 2016 at 5:15 am #722308Hi,
You can increase the height of the slider on mobile view which will create more space for the caption and buttons.
@media only screen and (max-width: 767px) { .avia-slideshow-inner, .avia-slideshow-inner img { height: 400px !important; } .avia-slideshow-inner img { min-width: 1200px !important; margin-left: -600px !important; } }
Adjust the values as needed.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.