Tagged: cornerstone
-
AuthorPosts
-
August 10, 2016 at 2:38 am #1125134
Is it possible to make the background image to a section, or really just a section, a clickable link?
August 10, 2016 at 7:06 am #1125412Hi,
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.
August 10, 2016 at 7:07 am #1125414Hey 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. 🙂
August 10, 2016 at 12:19 pm #1125890The 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?
August 10, 2016 at 2:31 pm #1126069Hi There,
Yes please, just make sure you mark it as a private reply.
Thanks
Joao
August 10, 2016 at 3:19 pm #1126131This reply has been marked as private.August 10, 2016 at 10:12 pm #1126646Hi There,
Thanks for the credentials, but would you mind pointing us on which page this clickable section is?
Thanks.
August 11, 2016 at 9:12 pm #1128175The home page – http://www.4spadesproductions.com
August 12, 2016 at 1:21 am #1128374Hi 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!
-
AuthorPosts