Call to action button above footer

Dear Theme creators, Thank you for that great theme! And sorry for so many questions!

However, I have a question, is it possible to place the call to action button next to footer in every page?

I look forward to getting your answer.

Best regards,
Damira

Hi Damira,

I hope you are well today and thank you for your question.

If you want to display existing call to action button on all pages then you can do so by using the solution posted in the following reply.

https://colorlibsupport.com/t/call-to-action/#post-42110

To add secondary call to action button you can use the solution posted in the following reply.

https://colorlibsupport.com/t/second-call-for-action-button/#post-49227

You said “call to action button next to footer in every page” but what do you mean exactly by “next to footer”?

Best Regards,
Movin

Hi Movin,

thank you for the answer.

I already use the child theme, and I place the button on every page. But I want to change its location, if it would be not on the top of the page, but in its down part, just between text area and footer?

I mean that the button would be under the content of the page. Is that possible?

You can try achieving this by using the attached custom child theme of Sparkling theme that contains some custom code.

Dear Movin!

Thank you very much for your help! Now it works very well!

One small question left: it does not open a new tab, it opens the link instead of my page. Should I change something in functions.php or when I put the link in wordpress settings?

You are most welcome here :slight_smile:

One small question left: it does not open a new tab, it opens the link instead of my page. Should I change something in functions.php or when I put the link in wordpress settings?

To achieve this i have changed the code in the child theme and attached the updated child theme to this reply so please try using it.