VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
CHECK OUT OUR PAGE ON GOOGLE +
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: Center Menu

Center Menu 01 Jun 2015 22:27 #6809

Congratulations for the beautiful template!!!

I managed to center the logo on the page but i was looking for a way to center the menu too... Can you help me?

Many Thanks!

  • Posts:3
  • Whitesnake
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Center Menu 02 Jun 2015 02:58 #6810

Edit templates/jf_taman/css/template.css, modify:
 
#jf-mainnav ul.menu li {
display: block;
float: left;
...
}
 

to:
 
#jf-mainnav ul.menu li {
display: inline-block;
float: none;
...
}
 

and add:
 
#jf-mainnav ul.menu {
text-align: center;
}
 


joomfreak
Last Edit: 02 Jun 2015 02:59 by isupport.

  • Posts:2142
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Center Menu 02 Jun 2015 06:50 #6813

Hi iSupport, again thanks... Working perfectly!

Just if somebody wants to do the same and have the same menu behavior as before:

Edit templates/jf_taman/css/template.css and modify:
 
#jf-mainnav ul.menu li ul li {
border-bottom: 1px solid #444;
float: none;
padding: 4px 0;
display: block;
text-align: left;
}
 

  • Posts:3
  • Whitesnake
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.47 seconds

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.