Jump to content
Sign in to follow this  
kneops

Adding a header inside a menu list, like in Bootstrap

Recommended Posts

kneops    4
kneops

Hi,

 

I'd like to a add a sub header inside my menu, just like this: http://ompldr.org/vaTlxZA

I know I can do this using custom code, but I would like to use the menu structure of WP.

How can I do this?

 

Also, if I would be forced to do this manually, what's the easiest way to get that html code inside the header?

Do I have to copy the header.php inside my child theme and add it there?

 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

The simplest method would be to add the HTML to a text widget yourself and then add the CSS required, to your custom CSS. Unfortunately, you wont be able to use the WP MENU with this.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
kneops    4
kneops

Ok, thanks for the suggestion.

Share this post


Link to post
Share on other sites
kneops    4
kneops

Well, I'm still trying to find out what I can do with the templating within PL and this was a question related to that. Because I may want to add a mini slider next to the logo for instance, and I'm not sure how to do that besides manually. Untill now I created my templates manually and sometimes added something like the PL boxes next to the logo. But I can't 'split' the header in two halfs, except by copying and editing the header.php.

 

This is another topic, I know :)

Share this post


Link to post
Share on other sites
James B    436
James B

By using a contentbox (free section from the pagelines store) in the header and then using the grid shortcodes inside it demo.pagelines.me/tools/ you'll be able to split the box in two columns. Then you can place your logo in one column and any other content into the other column. This content would have to be added manually, you won't be able to add sections or items from the drag and drop into the column etc. However, I see you want to have a mini slider, there's also a slider shortcode on the 'tools' page you could use in the second column to create the effect you're looking for.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
kneops    4
kneops

Ok, that should work. It would be better imho if the header would also have regions for placing content. Let's say I wanted to have a logo on the left, an image on the right and beneath that my social icons or a button. That would now be 'a lot of' work with custom code and css. ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • khat
      By khat+
      I think I may have installed pagelines pro incorrectly, and then used features incorrectly. I installed first platforms framework theme and then the child, thinking I could do setup for child later. I tried to set up a background image, and tried custom css feature in pagelines dashboard. I had mistakes in my css, and just thought that if I deleted the info in the css custom feature in pagelines dashboard that the new information would overwrite the old info. The background image didn't respond at all, probably because I didn't have the child directory renamed. I then tried to use the LSS plugin to create css and added more css, possibly, somewhere -sigh-. I never did change the background image and get it placed properly. I used a workaround and in nested containers I placed a background image which worked well enough, so I moved on to try to create my nav bar/ menu bar. When I go to the Menus panel, there is NO area where I can place a menu on a page. I have read and reread and re- re- reread the instructions for placing a menu. I've used the pagelines editor to place a menu, however only HOME shows up. I've been at this for many hours. I've since uninstalled all of my pagelines items and reinstalled, thinking that it would restore all my changes to default, but no, it is still all there, with all my unresolved issues. I am completely at a loss as to what to do next.
    • Jarek
      By Jarek+
      How to make the Impulse menu sticky?
      Here is a site that seems like it is doing just that: http://www.manhattanperiodontist.com/
      Here is the site I am working on: http://boeriu.digitalvector.com/ 
      I have no problem showing the menu at the bottom, but when scrolling up it does not stick.  I tried to add Nav Pro menu but when I do that, it just shows on top and no matter what I try is not working as I want it to.
      Any suggestions?
    • Dave
      By Dave+
      1) Toggle menu on mobile devices does not work properly, combination Chrome 56.0.2924.87 with Android 6.0.1

      2) Mobile / Default Menu > Set the primary/default navigation for your site. This will be used in the pop out mobile menu and as the default in navigation sections. Does not work.
    • ppotent
      By ppotent
      Any chance of a pagelines table plug-in coming? I know that the use of short codes and bootstrap can achieve this, but I can't seem to find any easy/visual editor way of doing this. There are table plug-ins around for wordpress, but honestly, they are pretty clunky. I'd pay for a tables plug-in, given how much I would use tables if I could.
       
       
    • David
      By David+
      We are building a long-page scrolling site with Pagelines 5. Our menu is made with # links that go to a container's unique ID, e.g. container_ux7al6g
      This works, but it doesn't look great in the menu. Is it possible to assign a 'nice' # link, e.g. /#solutions ? 
      We used to do this in the DMS2 platform through a workaround, but that doesn't seem to be possible now. 
      Any suggestions? 
×