I just put up a new site about 3 weeks ago with travel quizzes based on travel articles. I'm using the Agency Pro theme.
What I'd like to do is have a different background image for each of the top level menu selections. So when someone selects a different top level menu selection a different background image will show.
Alternately, similarly, a screen-wide different image (i.e. 300 - 400 px height) for the top menu selection displayed just under the menu bar with no background image.
I'm not a php programmer so I would need the code to do this.
Any help will be appreciated.
What you can do is use conditional classes for each menu item and use them to display different background images.
Brad Dalton has written 1000 + Genesis tutorials & 4000+ Code Snippets .
I'll check into how to use/code conditional classes for each menu item. I have a feeling it may be difficult to accomplish. I looked at WP forum and the first post I found about it the person tried several different things, none worked. Finally someone else answered and had independently found a method that worked, but it doesn't seem straightforward to me.
Not knowing php it seemed like you need classes for all the variables in the statement in the example shown in that forum. I have been trying to avoid learning php coding, but it looks like I might have to learn it just to do this.
If you don't do this sort of thing for free how much would you charge to do this? You can respond here on my personal blog if you wish.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!