Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1409926
    Victor50000
    Participant

    Hello!

    I’m trying to make three columns to hyperlinks at my page. URL: http://repulse.digisera.se/

    Found the following code in another thread:

    jQuery(“.boka-kurs”).wrap(““);
    jQuery(“.om-repulse”).wrap(““);
    jQuery(“.arbetsmaterial”).wrap(““);

    However, this ruins the column positions and makes them stack above/below each other.

    Would you please help me to get it right?

    Thanks alot!

    #1410482
    Rad
    Moderator

    Hi there,

    Thanks for posting in.

    You can’t link the entire column, each column is grouped by rows. Wrapping them with links will regroup them and they are no more connected to its parent row. How about adding click event to your column? Example,

    jQuery('.boka-kurs').on('click', function() { window.location='http://example.com'; } );

    Thanks!

    #1410761
    Victor50000
    Participant

    Hi again,

    Thank you so much!

    Could you also provide additional code for making the columns change color, when hovered?

    So that the visitor realise that the column is a link.

    Also, if possible, that the cursor changes to the pointing finger cursor.

    Would be great 🙂

    #1411166
    Nabeel A
    Moderator

    Hi again,

    Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:

    .home #x-section-3 .x-column {
        cursor: pointer;
    }
    .home #x-section-3 .x-column:hover {
        background: #d46320;
    }

    Let us know how this goes!

    #1412102
    Victor50000
    Participant

    That did it!

    Thank you so much!

    #1412526
    Rue Nel
    Moderator

    You’re welcome!
    Thanks for letting us know that it has worked for you.

  • <script> jQuery(function($){ $("#no-reply-1409926 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>