Onclick Icon of Iconbox

Home Forums Jevelin Theme Onclick Icon of Iconbox

Home Forums Jevelin Theme Onclick Icon of Iconbox

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • aflenzer1
    Participant

    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.

     

    Attachments:
    You must be logged in to view attached files.

    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

Viewing 2 posts - 1 through 2 (of 2 total)