Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1125134

    arigoldstein
    Participant

    Is it possible to make the background image to a section, or really just a section, a clickable link?

    #1125412

    Paul R
    Moderator

    Hi,

    Yes, you can add a unique class in the class field of your section.

    For example try to add my-section.

    You can then add this in Cornerstone > Settings > custom Javascript

    
    jQuery(function($) {
        $( ".my-section" ).wrap( "<a href='http://example.com'></a>" );
    });
    

    Change http://example.com with your link.

    Hope that helps.

    #1125414

    Christian
    Moderator

    Hey there,

    That is possible by adding a transparent button to a section without padding. You will need to add inline style to the button particularly the top and bottom padding like

    border:0;padding:100px;text-indent:-9999px

    Make sure you disable Column Container of your Row.

    Hope that helps. 🙂

    #1125890

    arigoldstein
    Participant

    The code given didn’t work, it just showed up as text under everything on the page that I wanted the clickable section. Is it possible that I give you admin credentials and you take a look?

    #1126069

    Joao
    Moderator

    Hi There,

    Yes please, just make sure you mark it as a private reply.

    Thanks

    Joao

    #1126131

    arigoldstein
    Participant
    This reply has been marked as private.
    #1126646

    Friech
    Moderator

    Hi There,

    Thanks for the credentials, but would you mind pointing us on which page this clickable section is?

    Thanks.

    #1128175

    arigoldstein
    Participant
    #1128374

    Rupok
    Member

    Hi there,

    To make the section clickable; please follow the suggestion by Paul (#post-1125412). It should work fine. Just make sure to use the right class.

    Cheers!