Jump to content

Archived

This topic is now archived and is closed to further replies.

davidcosgrove

Bottom align top nav bar to the baseline of my logo

Recommended Posts

davidcosgrove    1
davidcosgrove

I would like to bottom align the nav bar to the baseline of my logo - attached is a screenshot of the logo on the left, nav bar on the right.

 

Thanks for your help!

Share this post


Link to post
Share on other sites
casseysdesigns+    2
casseysdesigns

Hi David, 

I do not see an attached screenshot, just an fyi

 

If I am understanding correctly you want to have your logo on the top and your navbar directly below, you should be able to accomplish this by adding the sections for your branding and navigation seperately.. one on top of the other...

If you provide more info and a link to your site you will probably receive more detailed help to accomplish what you want :)

 

I hope this helps :)

 

Cre8ively,

Cassey

Share this post


Link to post
Share on other sites
davidcosgrove    1
davidcosgrove

Hi Cassey,

 

D'oh!  OK here is a screen cap of the logo and navbar - http://www.davidcosgrovesandbox.com/dfx.png - the site is still in development and hidden.  I can set you up with login credentials if you'd like.

 

I want the logo to remain in its place, the nav bar on the right is now top-aligned in relation to the logo - I want the nav bar to be aligned so it's bottom aligned to the baseline of the logo.  I want the nav bar to remain in its place as well, just align it so the baseline aligns with the logo's baseline.

 

Thanks so much for your help :-)!

 

David

Share this post


Link to post
Share on other sites
casseysdesigns+    2
casseysdesigns

Hi David, 

 

Thank you for the more detailed description. 

 

I don't believe Vertical Alignment will work if you have these set up using 2 different sections because they don't share a relationship to each other. To use vertical alignment you would need the two elements to be contained together sharing a dependent relationship. For example a table would work with the logo in the first cell and the menu in the second cell (not easily accomplished using sections though) and the vertical-alignment set to bottom...

 

This would actually be a good idea for a new branding section in the pagelines store or additional option for the current branding section.

 

>> Two ways you can accomplish an imperfect version of what you want using 2 sections on the same row... CSS 

 

apply padding-top to the navbar

or

apply position:relative and top:XXpx; to the navbar

 

The css fix won't display 100% perfectly on all page sizes because your logo is likely responsive...

 

I hope this helps :) 

 

Cre8ively,

Cassey

 

** There may be a way to vertical align 2 sections that I am unaware of, if there is I would be happy to learn the technique as well :)

Share this post


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

You can achieve this by either increasing the line-height on the navs li a or adding padding-top and padding-bottom.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • 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.
    • bnapoli
      By bnapoli+
      http://731.34b.myftpupload.com/ this website is using the NavPro navigation in Platform 5. It has a lot of menu items, so it breaks to two lines when the window is sized down. What is the media query to make the navigation either a) switch to "mobile mode" at a higher width, or b ) expand the nav into two lines. Thanks
    • yemoonyah
      By yemoonyah+
      I just installed and added the Flipper section to my home page and it makes my navigation/menu bar items disappear.
      They do show up again when scrolling down and everything seems normal on the other pages.
      http://yemoonyah.com
      Thanks.
       
    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
×