Jump to content

Archived

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

LAMF

Aligning menu text to middle

Recommended Posts

LAMF    1
LAMF

I'm trying to create a larger format menu, and it looks silly to have the text top-aligned in my new larger fixed navbar. How do I center it? I've tried a couple things but I'm stuck.

 

I'm using this CSS so far: 

.navbar .navline {
  font-size: 1.5em;
}
 
.navbar .plbrand img {
    max-height: 74px;
}
.navbar {
    height: 5em !important;
}
 
and the website URL is lakesareamusic.org
 
Thank you!
 

 

Share this post


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

Hi there, I can't connect to your site unfortunately, it just keeps trying to load but never gets there. Is the site still live?

 

The css you've pasted above sets the height, are you trying to center it vertically or horizontally? Try 'margin-top:--px' to move the menu down more.


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
James B    436
James B

You're welcome, glad you've managed to resolve. Thanks for updating the thread.


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

  • Similar Content

    • stefanoferruggiara
      By stefanoferruggiara
      Hi there,
      How i can remove the active and hover background color from navmenu?
      I'm using simple CSS Lite but removing color doesn't work.. i have usual a lite grey on active and hover.
      Thanks for fast replay
      SF
       
×