Tagged: x
-
AuthorPosts
-
March 16, 2017 at 12:52 pm #1409926
Victor50000ParticipantHello!
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!
March 16, 2017 at 8:21 pm #1410482
RadModeratorHi 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!
March 17, 2017 at 3:11 am #1410761
Victor50000ParticipantHi 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 🙂
March 17, 2017 at 11:08 am #1411166
Nabeel AModeratorHi 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!
March 18, 2017 at 8:39 am #1412102
Victor50000ParticipantThat did it!
Thank you so much!
March 19, 2017 at 1:39 am #1412526
Rue NelModeratorYou’re welcome!
Thanks for letting us know that it has worked for you. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1409926 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
