- This topic has 3 replies, 3 voices, and was last updated 8 years, 8 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.
Could someone please point me in the right direction.
I'm working on a website that has an image in the header-right widget area, the client would like a different image to appear in the header-right widget area for one page only and I'm not sure how to go about it.
Should I create a new widget area (header-right2 for example) and then use a body class or am I on the wrong track?
Any help very gratefully received!
You could use a plugin like Widget Logic. For that one page (let's say its slug is "about"), for the generic widget that should appear site-wide except this Page, you would put:
and for the widget that should appear only on that Page, you would use:
Body class method was the way I was thinking. However, there are other considerations such as, "does this image have a function such as a link or alt text?".
What I might do, is remove the current image but use CSS to add it as a background, then using the custom body tag, write a CSS rules that puts a different background image in on your particular page.
Now I see Sridhar's option....may be good, also.
Web Design by Websentia Web Services
Thank you both guys,
I'd not heard of that plugin before - worked a treat, thank you very much!
© 2022 WPEngine, Inc.