Home › Forums › Jevelin Theme › Onclick Icon of Iconbox
Home › Forums › Jevelin Theme › Onclick Icon of Iconbox
Dear Shufflehound-Team,
I have a problem concerning the Iconboxes: I want to use the iconboxes as buttons, that redirect to another page when clicking on them. The problem is that it isn’t working when I click on the icon itself. (When I click on the text it’s working without any problems)
Let’s summarize it: I want a redirection to another page when I click on the icon itself!
So is it possible to set a onclick event on the icon itself? If so, how can I achieve that?
I have attached you a picture of the iconboxes and a link of my page.
Hi @aflenzer1,
I hope you are well today and thank you for your question.
You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
#page-container .sh-iconbox-title a { position: absolute; bottom: -25px; left: 0; height: 100%; width: 100%; padding-top: 140px; } #page-container .sh-iconbox-icon { margin-bottom: 50px; }
Best regards,
Shufflehound team