Tagged: different logos, enfold
-
AuthorPosts
-
September 17, 2013 at 7:56 pm #162436
Hi,
the way things are going there is a new client and I think I want to use enfold for his website.
But it´s a little bit difficult. This client have different businesses, that means he has sportclubs, restaurants and hotels.
In this case it´s ok to handle all them with one website but I need different mainmenus on different subsites. How can I do this with enfold?
I don´t mean the submenu.
For example the startsite need the Menuitems: Logo 1, item 1, item 2, item 3, item 4 but on the subside I need: Logo 2, item to startpage, item 5, item 6, item 7, item 8.
I know how to create the menus but what is the right way to insert them inside the pages. And how can I classify the 2 different Logos?
I want to use the fixed NavBar.
Best regards
September 17, 2013 at 8:07 pm #162440I use this on another blog and it’s works well. Find it in WordPress Plugins Search
CE WP-Menu per PageSeptember 17, 2013 at 8:11 pm #162445Hi,
it sounds that this is a good solution. Thanks a lot!
Are you use this plugin with enfold and the fixed Navibar?
Regards
September 17, 2013 at 8:24 pm #162455And what´s the way to change the logo for another fixed NavBar? I don´t think that I can do this with css and I´am not really a master with jquery…
September 17, 2013 at 8:29 pm #162459I don’t use it on my enfold site. I just bought enfold, like you, and don’t know it’s workings well enough (web code in general really). The plugin works great on my other theme and that one has a really funky menu bar so I would imagine it would work with this one easily since it’s so clean.
I would definitely like to know how to set a custom menu logo for each page as well. I found this online and I would imagine it could be tweaked to use the logo header:
http://jc-designs.net/blog/2011/06/displaying-menus-on-specific-pages-in-wordpress/- This reply was modified 11 years, 2 months ago by Alex.
September 17, 2013 at 8:33 pm #162464Thanks a lot!
What says the masters of support? :)
Best regards
September 17, 2013 at 9:38 pm #162511Hey!
You can change the header on a page by using a development feature of mine:
when editing the page create a new custom field with the name “header_setting”
as value you can use one of the following strings, which represent the various header settings:fixed_header nonfixed_header fixed_header social_header nonfixed_header social_header nonfixed_header social_header bottom_nav_header
September 17, 2013 at 10:12 pm #162526Oh, that´s nice to know.
But it isn´t in this case what I need.
I need different Navbar-Items and Logos on different subpages.
For example
Startsite (Home) need the Menuitems: Logo 1, home, products, events, menus, support
Subside needs: Logo 2, home, program, courses, wellness, lifestyle.
This is needed for the Navbar on Top
My client have different locations. Most of them have the same names and you can use one logo,but for one you need a different logo.
Most of them have the same features, but some are a little bit different.Is there a possibility to handle this with enfold. I also want to use the fixed Navbar because I love it :)
September 17, 2013 at 10:16 pm #162531This is not possible out of the box. Sorry. In this case I would recommend to create a child theme with a customized header.php file that fetches different menus and logos based on the page id.
Its not a difficult customization but it would probably take a few hours with testing, so I am afraid I cant really just post a code snippet here that makes all of that happen ;D
September 17, 2013 at 10:21 pm #162537Ok, I think with the menu I´ll get it to work. I work every time with child themes…
Is there a chance to become a evidence how to change the logo for only one subsite with jQuery or something like this…?
September 17, 2013 at 10:25 pm #162541logo is called in your header.php file like this:
echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong');
this points to the logo in folder enfold/images/logo.png
a simple if statement would eb enough:
if(is_page(1)) { echo avia_logo(AVIA_BASE_URL.'images/layout/logo1.png', false, 'strong'); } else { echo avia_logo(AVIA_BASE_URL.'images/layout/logo2.png', false, 'strong'); }
You need to make sure that you didnt set a custom logo in your backend, or it will overwrite those locations
September 17, 2013 at 10:37 pm #162551That’s fine! I thank you very much… :)
Best regards
BrunoSeptember 17, 2013 at 10:41 pm #162557 -
AuthorPosts
- The topic ‘Enfold – Different Menus on different sites’ is closed to new replies.