- This topic has 5 replies, 2 voices, and was last updated 5 years, 4 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I want to put a link in background image, I try to use div with link and play with z-index but it doesnt works..ñ 🙁
Any one can help me please??
i cant put a link because is in dev mode sorry
How are you adding the background image and where do you want it linked to?
I add the background image from Appearance > Customize
And i want to link to outsite web.
You might be able to use the wp-head-callback to add a function which includes your linked image https://developer.wordpress.org/reference/functions/add_theme_support/#custom-background
Finally... it works!!
I left the solutions here, we need to modify two files, header.php and style.css:
do_action( 'genesis_after_header' );
< a href="https://www.urldestination.com" target="_blank"> < / a >
'open' => '<div %s>',
'context' => 'site-inner',
genesis_structural_wrap( 'site-inner' );
and in style.css
© 2023 WPEngine, Inc.