Can entire banner be a link?

May 2014 WordPress Theme
GK User
Thu Apr 06, 2017 11:05 pm
Am I able to add a link to the banner that can be clicked anywhere to go to a URL? Thought I saw that option somewhere?

Thanks.
User avatar
Fresh Boarder

Joshua M
Fri Apr 07, 2017 10:15 am
Hi,
Banner under the slider? You can edit "Banners" page (Text editor) and change:
Code: Select all
<div><img src="http://localhost:8888/wp47/storefront/wp-content/themes/StoreFront/images/demo/product3_bg.jpg" alt="Product III"> <strong>100% Satisfaction<sub>Guaranteed</sub></strong></div>


into:
Code: Select all
<a href="#"><div><img src="http://localhost:8888/wp47/storefront/wp-content/themes/StoreFront/images/demo/product3_bg.jpg" alt="Product III"> <strong>100% Satisfaction<sub>Guaranteed</sub></strong></div></a>
User avatar
Moderator

GK User
Fri Apr 07, 2017 6:56 pm
Sorry, I meant the slider. Just to make sure we're talking about the same thing, in the demo, it's the main image area under the header that has the guys in the shorts and the text 'find more sizes and styles'.
https://demo.gavick.com/wordpress/storefront/

Can it be set so that clicking anywhere on the current slider image links to another page?

Thanks
User avatar
Fresh Boarder

Joshua M
Sun Apr 09, 2017 9:39 pm
Try to add the following css code (but title and text of the slide won't be clickable):
Code: Select all
.gk-is-wrapper-gk-storefront figcaption {
width: 42%;
}
User avatar
Moderator

GK User
Thu Apr 20, 2017 9:42 pm
Thanks for the reply, but how would I apply a link to the figcaption itself?
User avatar
Fresh Boarder

Joshua M
Fri Apr 21, 2017 9:52 am
You have to edit the subpage with slide title and add Custom field with the name "slide_url" and the value "#Your_URL".
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.